pub struct Edge {
pub src_node_id: Option<u32>,
pub dst_node_id: Option<u32>,
pub weight: Option<u32>,
}Fields§
§src_node_id: Option<u32>§dst_node_id: Option<u32>§weight: Option<u32>Trait Implementations§
Source§impl<'a, ___E> Encode<Edge<'static>, ___E> for &'a Edgewhere
___E: Encoder + ?Sized,
impl<'a, ___E> Encode<Edge<'static>, ___E> for &'a Edgewhere
___E: Encoder + ?Sized,
Source§impl<___E> Encode<Edge<'static>, ___E> for Edgewhere
___E: Encoder + ?Sized,
impl<___E> Encode<Edge<'static>, ___E> for Edgewhere
___E: Encoder + ?Sized,
Source§impl<'de> FromWireRef<Edge<'de>> for Edge
impl<'de> FromWireRef<Edge<'de>> for Edge
Source§fn from_wire_ref(wire: &Edge<'de>) -> Edge
fn from_wire_ref(wire: &Edge<'de>) -> Edge
Converts the given reference to this type.
Source§impl Ord for Edge
impl Ord for Edge
Source§impl PartialOrd for Edge
impl PartialOrd for Edge
impl Copy for Edge
impl Eq for Edge
impl StructuralPartialEq for Edge
Auto Trait Implementations§
impl Freeze for Edge
impl RefUnwindSafe for Edge
impl Send for Edge
impl Sync for Edge
impl Unpin for Edge
impl UnsafeUnpin for Edge
impl UnwindSafe for Edge
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]