pub struct EdgeDefinition<TProperties> {
pub space: String,
pub type: InstanceId,
pub version: i32,
pub external_id: String,
pub created_time: i64,
pub last_updated_time: i64,
pub start_node: InstanceId,
pub end_node: InstanceId,
pub deleted_time: Option<i64>,
pub properties: Option<PropertiesObject<TProperties>>,
}Expand description
Representation of an edge with properties.
Fields§
§space: StringEdge space.
type: InstanceIdEdge type.
version: i32Edge version.
external_id: StringEdge external ID.
created_time: i64Time this edge was created, in milliseconds since epoch.
last_updated_time: i64Time this edge was last modified, in milliseconds since epoch.
start_node: InstanceIdEdge start node.
end_node: InstanceIdEdge end node.
deleted_time: Option<i64>Timestamp when the edge was soft deleted. Note that deleted nodes are filtered out of query results, but present in sync results. This means that this value will only be present in sync results.
properties: Option<PropertiesObject<TProperties>>Edge properties.
Trait Implementations§
Source§impl<TProperties: Clone> Clone for EdgeDefinition<TProperties>
impl<TProperties: Clone> Clone for EdgeDefinition<TProperties>
Source§fn clone(&self) -> EdgeDefinition<TProperties>
fn clone(&self) -> EdgeDefinition<TProperties>
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<TProperties: Debug> Debug for EdgeDefinition<TProperties>
impl<TProperties: Debug> Debug for EdgeDefinition<TProperties>
Source§impl<'de, TProperties> Deserialize<'de> for EdgeDefinition<TProperties>where
TProperties: Deserialize<'de>,
impl<'de, TProperties> Deserialize<'de> for EdgeDefinition<TProperties>where
TProperties: Deserialize<'de>,
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
Auto Trait Implementations§
impl<TProperties> Freeze for EdgeDefinition<TProperties>
impl<TProperties> RefUnwindSafe for EdgeDefinition<TProperties>where
TProperties: RefUnwindSafe,
impl<TProperties> Send for EdgeDefinition<TProperties>where
TProperties: Send,
impl<TProperties> Sync for EdgeDefinition<TProperties>where
TProperties: Sync,
impl<TProperties> Unpin for EdgeDefinition<TProperties>where
TProperties: Unpin,
impl<TProperties> UnwindSafe for EdgeDefinition<TProperties>where
TProperties: 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