pub struct Selector {
pub component_selector: Option<ComponentSelector>,
pub tree_selector: Option<TreeSelector>,
pub tree_names: Option<TreeNames>,
}Expand description
Structured selector containing all required information for pattern-matching onto string-named properties owned by nodes in a data hierarchy, where data hierarchies belong to specific components.
These selectors are represented in text form as three segments, colon delimited, specifying: <component_moniker>:<node_selector>:<property_selector> Examples: Property selection: realm1/realm2/echo:root/active_users:user_count
Subtree selection: realm1/realm2/echo:root/active_users
Fields§
§component_selector: Option<ComponentSelector>§tree_selector: Option<TreeSelector>§tree_names: Option<TreeNames>Trait Implementations§
Source§impl CompatFrom<Selector> for Selector
impl CompatFrom<Selector> for Selector
Source§fn compat_from(value: Selector) -> Self
fn compat_from(value: Selector) -> Self
Converts
value into a value of this type.Source§impl CompatFrom<Selector> for Selector
impl CompatFrom<Selector> for Selector
Source§fn compat_from(value: Selector) -> Self
fn compat_from(value: Selector) -> Self
Converts
value into a value of this type.Source§impl<'a, ___E> Encode<Selector<'static>, ___E> for &'a Selectorwhere
___E: Encoder + ?Sized,
impl<'a, ___E> Encode<Selector<'static>, ___E> for &'a Selectorwhere
___E: Encoder + ?Sized,
Source§impl<___E> Encode<Selector<'static>, ___E> for Selectorwhere
___E: Encoder + ?Sized,
impl<___E> Encode<Selector<'static>, ___E> for Selectorwhere
___E: Encoder + ?Sized,
Source§impl<'de> FromWireRef<Selector<'de>> for Selector
impl<'de> FromWireRef<Selector<'de>> for Selector
Source§fn from_wire_ref(wire: &Selector<'de>) -> Self
fn from_wire_ref(wire: &Selector<'de>) -> Self
Converts the given reference to this type.
Source§impl Ord for Selector
impl Ord for Selector
Source§impl PartialOrd for Selector
impl PartialOrd for Selector
impl Eq for Selector
impl StructuralPartialEq for Selector
Auto Trait Implementations§
impl Freeze for Selector
impl RefUnwindSafe for Selector
impl Send for Selector
impl Sync for Selector
impl Unpin for Selector
impl UnsafeUnpin for Selector
impl UnwindSafe for Selector
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]