#[non_exhaustive]pub struct MemoryForFileHit {Show 19 fields
pub memory_key: String,
pub memory_type: String,
pub value: String,
pub value_truncated: bool,
pub tags: Vec<String>,
pub confidence: f64,
pub pinned: bool,
pub status: String,
pub agent: String,
pub updated_at: Option<String>,
pub namespace: String,
pub actor: String,
pub supersedes_key: String,
pub supersedes: String,
pub supersedes_kind: MemoryForFileHitSupersedesKind,
pub matched_files: Vec<String>,
pub source_resource_id: String,
pub verification: MemoryForFileHitVerification,
pub code_state: MemoryForFileHitCodeState,
}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.memory_key: String§memory_type: String§value: String§value_truncated: bool§confidence: f64§pinned: bool§status: String§agent: String§updated_at: Option<String>§namespace: String§actor: String§supersedes_key: String§supersedes: String§supersedes_kind: MemoryForFileHitSupersedesKind§matched_files: Vec<String>§source_resource_id: String§verification: MemoryForFileHitVerification§code_state: MemoryForFileHitCodeStateTrait Implementations§
Source§impl Clone for MemoryForFileHit
impl Clone for MemoryForFileHit
Source§impl Debug for MemoryForFileHit
impl Debug for MemoryForFileHit
Source§impl<'de> Deserialize<'de> for MemoryForFileHit
impl<'de> Deserialize<'de> for MemoryForFileHit
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
Source§impl PartialEq for MemoryForFileHit
impl PartialEq for MemoryForFileHit
Source§impl Serialize for MemoryForFileHit
impl Serialize for MemoryForFileHit
impl StructuralPartialEq for MemoryForFileHit
Auto Trait Implementations§
impl Forget for MemoryForFileHit
impl Freeze for MemoryForFileHit
impl Move for MemoryForFileHit
impl RefUnwindSafe for MemoryForFileHit
impl Send for MemoryForFileHit
impl Sync for MemoryForFileHit
impl Unpin for MemoryForFileHit
impl UnsafeUnpin for MemoryForFileHit
impl UnwindSafe for MemoryForFileHit
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