pub struct VisualNode {
pub id: String,
pub label: String,
pub kind: NodeKind,
pub managed: Option<bool>,
pub login: Option<bool>,
pub privileges: Vec<String>,
pub comment: Option<String>,
}Expand description
A node in the visual graph.
Fields§
§id: String§label: String§kind: NodeKind§managed: Option<bool>§login: Option<bool>§privileges: Vec<String>§comment: Option<String>Trait Implementations§
Source§impl Clone for VisualNode
impl Clone for VisualNode
Source§fn clone(&self) -> VisualNode
fn clone(&self) -> VisualNode
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 VisualNode
impl Debug for VisualNode
Source§impl<'de> Deserialize<'de> for VisualNode
impl<'de> Deserialize<'de> for VisualNode
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
Auto Trait Implementations§
impl Freeze for VisualNode
impl RefUnwindSafe for VisualNode
impl Send for VisualNode
impl Sync for VisualNode
impl Unpin for VisualNode
impl UnsafeUnpin for VisualNode
impl UnwindSafe for VisualNode
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