pub struct GraphEdgeRef {
pub from_memory_id: String,
pub to_memory_id: String,
pub edge_kind: MemoryEdgeKind,
}Expand description
Edge the canonicalization decision requires.
Fields§
§from_memory_id: String§to_memory_id: String§edge_kind: MemoryEdgeKindTrait Implementations§
Source§impl Clone for GraphEdgeRef
impl Clone for GraphEdgeRef
Source§fn clone(&self) -> GraphEdgeRef
fn clone(&self) -> GraphEdgeRef
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 GraphEdgeRef
impl Debug for GraphEdgeRef
Source§impl<'de> Deserialize<'de> for GraphEdgeRef
impl<'de> Deserialize<'de> for GraphEdgeRef
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GraphEdgeRef, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GraphEdgeRef, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GraphEdgeRef
Source§impl PartialEq for GraphEdgeRef
impl PartialEq for GraphEdgeRef
Source§fn eq(&self, other: &GraphEdgeRef) -> bool
fn eq(&self, other: &GraphEdgeRef) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GraphEdgeRef
impl Serialize for GraphEdgeRef
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for GraphEdgeRef
Auto Trait Implementations§
impl Freeze for GraphEdgeRef
impl RefUnwindSafe for GraphEdgeRef
impl Send for GraphEdgeRef
impl Sync for GraphEdgeRef
impl Unpin for GraphEdgeRef
impl UnsafeUnpin for GraphEdgeRef
impl UnwindSafe for GraphEdgeRef
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