pub struct EdgeMetadata {
pub created_at: u64,
pub modified_at: u64,
pub deleted: bool,
pub last_modified_by: ReplicaId,
}Expand description
Metadata for a graph edge
Fields§
§created_at: u64When the edge was created
modified_at: u64When the edge was last modified
deleted: boolWhether the edge is marked as deleted
last_modified_by: ReplicaIdReplica that last modified the edge
Implementations§
Source§impl EdgeMetadata
impl EdgeMetadata
Trait Implementations§
Source§impl Clone for EdgeMetadata
impl Clone for EdgeMetadata
Source§fn clone(&self) -> EdgeMetadata
fn clone(&self) -> EdgeMetadata
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 EdgeMetadata
impl Debug for EdgeMetadata
Source§impl<'de> Deserialize<'de> for EdgeMetadata
impl<'de> Deserialize<'de> for EdgeMetadata
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 EdgeMetadata
impl PartialEq for EdgeMetadata
Source§impl Serialize for EdgeMetadata
impl Serialize for EdgeMetadata
impl Eq for EdgeMetadata
impl StructuralPartialEq for EdgeMetadata
Auto Trait Implementations§
impl Freeze for EdgeMetadata
impl RefUnwindSafe for EdgeMetadata
impl Send for EdgeMetadata
impl Sync for EdgeMetadata
impl Unpin for EdgeMetadata
impl UnwindSafe for EdgeMetadata
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