pub struct EdgeOrNodeData<TProperties> {
pub source: SourceReference,
pub properties: TProperties,
}Expand description
Data in a single container or view for an edge or a node.
Fields§
§source: SourceReferenceReference to the container or view this data belongs to.
properties: TPropertiesProperty values on the form { property_name: value, ... }
Trait Implementations§
Source§impl<TProperties: Clone> Clone for EdgeOrNodeData<TProperties>
impl<TProperties: Clone> Clone for EdgeOrNodeData<TProperties>
Source§fn clone(&self) -> EdgeOrNodeData<TProperties>
fn clone(&self) -> EdgeOrNodeData<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 EdgeOrNodeData<TProperties>
impl<TProperties: Debug> Debug for EdgeOrNodeData<TProperties>
Source§impl<'de, TProperties> Deserialize<'de> for EdgeOrNodeData<TProperties>where
TProperties: Deserialize<'de>,
impl<'de, TProperties> Deserialize<'de> for EdgeOrNodeData<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 EdgeOrNodeData<TProperties>where
TProperties: Freeze,
impl<TProperties> RefUnwindSafe for EdgeOrNodeData<TProperties>where
TProperties: RefUnwindSafe,
impl<TProperties> Send for EdgeOrNodeData<TProperties>where
TProperties: Send,
impl<TProperties> Sync for EdgeOrNodeData<TProperties>where
TProperties: Sync,
impl<TProperties> Unpin for EdgeOrNodeData<TProperties>where
TProperties: Unpin,
impl<TProperties> UnwindSafe for EdgeOrNodeData<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