pub enum NodeSelector {
All,
Tagged(String),
Kind(String),
NotTagged(String),
}Expand description
Selects which nodes a coupling applies to. Tag and kind names are opaque here — they resolve against the node’s tags / classifications.
Variants§
All
Apply to every node.
Tagged(String)
Apply to nodes carrying this tag.
Kind(String)
Apply to nodes of this kind.
NotTagged(String)
Apply to nodes NOT carrying this tag.
Trait Implementations§
Source§impl Clone for NodeSelector
impl Clone for NodeSelector
Source§impl Debug for NodeSelector
impl Debug for NodeSelector
Source§impl<'de> Deserialize<'de> for NodeSelector
impl<'de> Deserialize<'de> for NodeSelector
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 NodeSelector
Source§impl Hash for NodeSelector
impl Hash for NodeSelector
Source§impl PartialEq for NodeSelector
impl PartialEq for NodeSelector
Source§impl Serialize for NodeSelector
impl Serialize for NodeSelector
impl StructuralPartialEq for NodeSelector
Auto Trait Implementations§
impl Freeze for NodeSelector
impl RefUnwindSafe for NodeSelector
impl Send for NodeSelector
impl Sync for NodeSelector
impl Unpin for NodeSelector
impl UnsafeUnpin for NodeSelector
impl UnwindSafe for NodeSelector
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