pub struct AgentDocument {
pub id: AgentId,
pub frontmatter: AgentFrontmatter,
pub body: String,
pub source: AgentDocumentSource,
pub document_fingerprint: Sha256Digest,
pub prompt_fingerprint: Sha256Digest,
}Fields§
§id: AgentId§frontmatter: AgentFrontmatter§body: String§source: AgentDocumentSource§document_fingerprint: Sha256Digest§prompt_fingerprint: Sha256DigestTrait Implementations§
Source§impl Clone for AgentDocument
impl Clone for AgentDocument
Source§fn clone(&self) -> AgentDocument
fn clone(&self) -> AgentDocument
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AgentDocument
impl RefUnwindSafe for AgentDocument
impl Send for AgentDocument
impl Sync for AgentDocument
impl Unpin for AgentDocument
impl UnsafeUnpin for AgentDocument
impl UnwindSafe for AgentDocument
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more