pub struct NodeDefinition<TProperties> {
pub space: String,
pub version: i32,
pub external_id: String,
pub type: Option<InstanceId>,
pub created_time: i64,
pub last_updated_time: i64,
pub deleted_time: Option<i64>,
pub properties: Option<PropertiesObject<TProperties>>,
}Expand description
Representation of a node with properties.
Fields§
§space: StringNode space.
version: i32Node version.
external_id: StringNode external ID.
type: Option<InstanceId>Node type.
created_time: i64Time this node was created, in milliseconds since epoch.
last_updated_time: i64Time this node was last modified, in milliseconds since epoch.
deleted_time: Option<i64>Timestamp when the node 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>>Node properties.
Trait Implementations§
Source§impl<TProperties: Clone> Clone for NodeDefinition<TProperties>
impl<TProperties: Clone> Clone for NodeDefinition<TProperties>
Source§fn clone(&self) -> NodeDefinition<TProperties>
fn clone(&self) -> NodeDefinition<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 NodeDefinition<TProperties>
impl<TProperties: Debug> Debug for NodeDefinition<TProperties>
Source§impl<'de, TProperties> Deserialize<'de> for NodeDefinition<TProperties>where
TProperties: Deserialize<'de>,
impl<'de, TProperties> Deserialize<'de> for NodeDefinition<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 NodeDefinition<TProperties>
impl<TProperties> RefUnwindSafe for NodeDefinition<TProperties>where
TProperties: RefUnwindSafe,
impl<TProperties> Send for NodeDefinition<TProperties>where
TProperties: Send,
impl<TProperties> Sync for NodeDefinition<TProperties>where
TProperties: Sync,
impl<TProperties> Unpin for NodeDefinition<TProperties>where
TProperties: Unpin,
impl<TProperties> UnwindSafe for NodeDefinition<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