pub struct NodeAnnotation {
pub role: Option<String>,
pub scope: Option<String>,
}Expand description
Node annotation from extended @nodes (role=, scope=).
Fields§
§role: Option<String>§scope: Option<String>Trait Implementations§
Source§impl Clone for NodeAnnotation
impl Clone for NodeAnnotation
Source§fn clone(&self) -> NodeAnnotation
fn clone(&self) -> NodeAnnotation
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 NodeAnnotation
impl Debug for NodeAnnotation
Source§impl Default for NodeAnnotation
impl Default for NodeAnnotation
Source§fn default() -> NodeAnnotation
fn default() -> NodeAnnotation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodeAnnotation
impl<'de> Deserialize<'de> for NodeAnnotation
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NodeAnnotation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NodeAnnotation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for NodeAnnotation
impl Serialize for NodeAnnotation
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
Auto Trait Implementations§
impl Freeze for NodeAnnotation
impl RefUnwindSafe for NodeAnnotation
impl Send for NodeAnnotation
impl Sync for NodeAnnotation
impl Unpin for NodeAnnotation
impl UnsafeUnpin for NodeAnnotation
impl UnwindSafe for NodeAnnotation
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