pub enum ObservationSelector {
Exact(String),
Prefix(String),
}Expand description
One activation-path selector.
Variants§
Exact(String)
Select exactly one stable path.
Prefix(String)
Select a path and all descendants separated by ..
Implementations§
Trait Implementations§
Source§impl Clone for ObservationSelector
impl Clone for ObservationSelector
Source§fn clone(&self) -> ObservationSelector
fn clone(&self) -> ObservationSelector
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 ObservationSelector
impl Debug for ObservationSelector
Source§impl<'de> Deserialize<'de> for ObservationSelector
impl<'de> Deserialize<'de> for ObservationSelector
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 ObservationSelector
Source§impl PartialEq for ObservationSelector
impl PartialEq for ObservationSelector
Source§impl Serialize for ObservationSelector
impl Serialize for ObservationSelector
impl StructuralPartialEq for ObservationSelector
Auto Trait Implementations§
impl Freeze for ObservationSelector
impl RefUnwindSafe for ObservationSelector
impl Send for ObservationSelector
impl Sync for ObservationSelector
impl Unpin for ObservationSelector
impl UnsafeUnpin for ObservationSelector
impl UnwindSafe for ObservationSelector
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