#[non_exhaustive]pub struct MemoryFile {
pub scope: String,
pub memory_id: String,
pub path: String,
pub category: Option<String>,
pub description: Option<String>,
pub revision_id: String,
pub version: String,
pub is_head: bool,
pub head: Head,
pub updated_at: Option<String>,
pub text: String,
pub entries: Vec<MemoryEntry>,
}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.scope: String§memory_id: String§path: String§category: Option<String>§description: Option<String>§revision_id: String§version: String§is_head: bool§head: Head§updated_at: Option<String>§text: String§entries: Vec<MemoryEntry>Trait Implementations§
Source§impl Clone for MemoryFile
impl Clone for MemoryFile
Source§impl Debug for MemoryFile
impl Debug for MemoryFile
Source§impl<'de> Deserialize<'de> for MemoryFile
impl<'de> Deserialize<'de> for MemoryFile
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 Eq for MemoryFile
Source§impl PartialEq for MemoryFile
impl PartialEq for MemoryFile
Source§impl Serialize for MemoryFile
impl Serialize for MemoryFile
impl StructuralPartialEq for MemoryFile
Auto Trait Implementations§
impl Forget for MemoryFile
impl Freeze for MemoryFile
impl Move for MemoryFile
impl RefUnwindSafe for MemoryFile
impl Send for MemoryFilewhere
RawVecInner: Send,
impl Sync for MemoryFilewhere
RawVecInner: Sync,
impl Unpin for MemoryFile
impl UnsafeUnpin for MemoryFilewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<MemoryEntry>: UnsafeUnpin,
impl UnwindSafe for MemoryFilewhere
RawVecInner: UnwindSafe,
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