pub struct VertexMetadata {
pub created_at: u64,
pub modified_at: u64,
pub deleted: bool,
pub last_modified_by: ReplicaId,
}Expand description
Metadata for a graph vertex
Fields§
§created_at: u64When the vertex was created
modified_at: u64When the vertex was last modified
deleted: boolWhether the vertex is marked as deleted
last_modified_by: ReplicaIdReplica that last modified the vertex
Implementations§
Trait Implementations§
Source§impl Clone for VertexMetadata
impl Clone for VertexMetadata
Source§fn clone(&self) -> VertexMetadata
fn clone(&self) -> VertexMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VertexMetadata
impl Debug for VertexMetadata
Source§impl<'de> Deserialize<'de> for VertexMetadata
impl<'de> Deserialize<'de> for VertexMetadata
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 Hash for VertexMetadata
impl Hash for VertexMetadata
Source§impl PartialEq for VertexMetadata
impl PartialEq for VertexMetadata
Source§impl Serialize for VertexMetadata
impl Serialize for VertexMetadata
impl Eq for VertexMetadata
impl StructuralPartialEq for VertexMetadata
Auto Trait Implementations§
impl Freeze for VertexMetadata
impl RefUnwindSafe for VertexMetadata
impl Send for VertexMetadata
impl Sync for VertexMetadata
impl Unpin for VertexMetadata
impl UnwindSafe for VertexMetadata
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