pub struct GraphCanvasNode {
pub id: String,
pub kind: String,
pub label: String,
pub subtitle: Option<String>,
pub source_scope: Option<String>,
pub graph_version: u64,
pub weight: u32,
pub status: Option<String>,
pub details: BTreeMap<String, String>,
}Expand description
Node rendered in the Web graph canvas.
Fields§
§id: String§kind: String§label: String§subtitle: Option<String>§source_scope: Option<String>§graph_version: u64§weight: u32§status: Option<String>§details: BTreeMap<String, String>Trait Implementations§
Source§impl Clone for GraphCanvasNode
impl Clone for GraphCanvasNode
Source§fn clone(&self) -> GraphCanvasNode
fn clone(&self) -> GraphCanvasNode
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 GraphCanvasNode
impl Debug for GraphCanvasNode
Source§impl<'de> Deserialize<'de> for GraphCanvasNode
impl<'de> Deserialize<'de> for GraphCanvasNode
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
impl Eq for GraphCanvasNode
Source§impl PartialEq for GraphCanvasNode
impl PartialEq for GraphCanvasNode
Source§impl Serialize for GraphCanvasNode
impl Serialize for GraphCanvasNode
impl StructuralPartialEq for GraphCanvasNode
Auto Trait Implementations§
impl Freeze for GraphCanvasNode
impl RefUnwindSafe for GraphCanvasNode
impl Send for GraphCanvasNode
impl Sync for GraphCanvasNode
impl Unpin for GraphCanvasNode
impl UnsafeUnpin for GraphCanvasNode
impl UnwindSafe for GraphCanvasNode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.