pub struct RelateStatement {
pub source: MemoryId,
pub target: MemoryId,
pub edge_type: EdgeType,
pub weight: Option<f32>,
}Fields§
§source: MemoryId§target: MemoryId§edge_type: EdgeType§weight: Option<f32>Trait Implementations§
Source§impl Clone for RelateStatement
impl Clone for RelateStatement
Source§fn clone(&self) -> RelateStatement
fn clone(&self) -> RelateStatement
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 RelateStatement
impl Debug for RelateStatement
Source§impl<'de> Deserialize<'de> for RelateStatement
impl<'de> Deserialize<'de> for RelateStatement
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 RelateStatement
impl PartialEq for RelateStatement
Source§impl Serialize for RelateStatement
impl Serialize for RelateStatement
impl StructuralPartialEq for RelateStatement
Auto Trait Implementations§
impl Freeze for RelateStatement
impl RefUnwindSafe for RelateStatement
impl Send for RelateStatement
impl Sync for RelateStatement
impl Unpin for RelateStatement
impl UnsafeUnpin for RelateStatement
impl UnwindSafe for RelateStatement
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