pub struct NodeMetadata {
pub key: String,
pub content_type: Option<String>,
pub metadata: HashMap<String, String>,
pub created_at: u64,
pub updated_at: u64,
}Expand description
Exact metadata stored per node. Never lossy-compressed.
Fields§
§key: StringNode key (path)
content_type: Option<String>Content type
metadata: HashMap<String, String>User-defined metadata
created_at: u64Creation timestamp (seconds since epoch)
updated_at: u64Last update timestamp
Implementations§
Trait Implementations§
Source§impl Clone for NodeMetadata
impl Clone for NodeMetadata
Source§fn clone(&self) -> NodeMetadata
fn clone(&self) -> NodeMetadata
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 NodeMetadata
impl RefUnwindSafe for NodeMetadata
impl Send for NodeMetadata
impl Sync for NodeMetadata
impl Unpin for NodeMetadata
impl UnsafeUnpin for NodeMetadata
impl UnwindSafe for NodeMetadata
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