#[non_exhaustive]pub struct MemoryImportEvidenceInputEvidenceDigest {
pub session_id: String,
pub summary_text: String,
pub agent: Option<String>,
pub user_id: Option<String>,
pub key_facts: Option<Vec<String>>,
pub derived_from: Option<Vec<String>>,
pub valid_at: Option<String>,
pub created_at: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.session_id: String§summary_text: String§agent: Option<String>§user_id: Option<String>§key_facts: Option<Vec<String>>§derived_from: Option<Vec<String>>§valid_at: Option<String>§created_at: Option<String>Implementations§
Source§impl MemoryImportEvidenceInputEvidenceDigest
impl MemoryImportEvidenceInputEvidenceDigest
pub fn new( session_id: impl Into<String>, summary_text: impl Into<String>, ) -> Self
pub fn agent(self, agent: impl Into<String>) -> Self
pub fn user_id(self, user_id: impl Into<String>) -> Self
pub fn key_facts( self, key_facts: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn derived_from( self, derived_from: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn valid_at(self, valid_at: impl Into<String>) -> Self
pub fn created_at(self, created_at: impl Into<String>) -> Self
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MemoryImportEvidenceInputEvidenceDigest
impl<'de> Deserialize<'de> for MemoryImportEvidenceInputEvidenceDigest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for MemoryImportEvidenceInputEvidenceDigest
Auto Trait Implementations§
impl Forget for MemoryImportEvidenceInputEvidenceDigest
impl Freeze for MemoryImportEvidenceInputEvidenceDigest
impl Move for MemoryImportEvidenceInputEvidenceDigest
impl RefUnwindSafe for MemoryImportEvidenceInputEvidenceDigest
impl Send for MemoryImportEvidenceInputEvidenceDigest
impl Sync for MemoryImportEvidenceInputEvidenceDigest
impl Unpin for MemoryImportEvidenceInputEvidenceDigest
impl UnsafeUnpin for MemoryImportEvidenceInputEvidenceDigest
impl UnwindSafe for MemoryImportEvidenceInputEvidenceDigest
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