pub struct GraphWrite {
pub node_type: String,
pub label: String,
pub payload: Value,
pub fitness_delta: Option<f32>,
}Fields§
§node_type: String§label: String§payload: Value§fitness_delta: Option<f32>Trait Implementations§
Source§impl Clone for GraphWrite
impl Clone for GraphWrite
Source§fn clone(&self) -> GraphWrite
fn clone(&self) -> GraphWrite
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GraphWrite
impl Debug for GraphWrite
Source§impl<'de> Deserialize<'de> for GraphWrite
impl<'de> Deserialize<'de> for GraphWrite
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 GraphWrite
impl PartialEq for GraphWrite
Source§fn eq(&self, other: &GraphWrite) -> bool
fn eq(&self, other: &GraphWrite) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GraphWrite
impl Serialize for GraphWrite
impl StructuralPartialEq for GraphWrite
Auto Trait Implementations§
impl Freeze for GraphWrite
impl RefUnwindSafe for GraphWrite
impl Send for GraphWrite
impl Sync for GraphWrite
impl Unpin for GraphWrite
impl UnsafeUnpin for GraphWrite
impl UnwindSafe for GraphWrite
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