pub struct DocMeta {
pub doc_id: String,
pub path: String,
pub created_ms: u128,
pub updated_ms: u128,
}Expand description
Persisted per-doc metadata, stored as JSON at meta_file(id).
Fields§
§doc_id: StringThe document id this metadata belongs to.
path: StringLast-known absolute path of the .zen on this machine (lossy UTF-8).
created_ms: u128Unix-ms when this local history was first created.
updated_ms: u128Unix-ms of the last reconcile that touched this doc.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DocMeta
impl<'de> Deserialize<'de> for DocMeta
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 DocMeta
Auto Trait Implementations§
impl Freeze for DocMeta
impl RefUnwindSafe for DocMeta
impl Send for DocMeta
impl Sync for DocMeta
impl Unpin for DocMeta
impl UnsafeUnpin for DocMeta
impl UnwindSafe for DocMeta
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