pub struct GraphCanvasEdge {
pub id: String,
pub kind: String,
pub source: String,
pub target: String,
pub label: String,
pub graph_version: u64,
pub confidence_basis_points: Option<u16>,
pub evidence_count: Option<usize>,
pub details: BTreeMap<String, String>,
}Expand description
Edge rendered in the Web graph canvas.
Fields§
§id: String§kind: String§source: String§target: String§label: String§graph_version: u64§confidence_basis_points: Option<u16>§evidence_count: Option<usize>§details: BTreeMap<String, String>Trait Implementations§
Source§impl Clone for GraphCanvasEdge
impl Clone for GraphCanvasEdge
Source§fn clone(&self) -> GraphCanvasEdge
fn clone(&self) -> GraphCanvasEdge
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 GraphCanvasEdge
impl Debug for GraphCanvasEdge
Source§impl<'de> Deserialize<'de> for GraphCanvasEdge
impl<'de> Deserialize<'de> for GraphCanvasEdge
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 GraphCanvasEdge
impl PartialEq for GraphCanvasEdge
Source§fn eq(&self, other: &GraphCanvasEdge) -> bool
fn eq(&self, other: &GraphCanvasEdge) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GraphCanvasEdge
impl Serialize for GraphCanvasEdge
impl Eq for GraphCanvasEdge
impl StructuralPartialEq for GraphCanvasEdge
Auto Trait Implementations§
impl Freeze for GraphCanvasEdge
impl RefUnwindSafe for GraphCanvasEdge
impl Send for GraphCanvasEdge
impl Sync for GraphCanvasEdge
impl Unpin for GraphCanvasEdge
impl UnsafeUnpin for GraphCanvasEdge
impl UnwindSafe for GraphCanvasEdge
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.