#[non_exhaustive]pub struct NodePath {
pub group: PathOwned,
pub node: PathOwned,
}Expand description
A parsed stats broadcast path: <prefix>[/<group>]/node[/<node>].
See parse_node_path.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.group: PathOwnedThe grouping key: the leading broadcast-path segments selected by the
producer’s depth, empty at depth 0.
node: PathOwnedThe node suffix, empty when the producer has no node configured.
Trait Implementations§
impl Eq for NodePath
impl StructuralPartialEq for NodePath
Auto Trait Implementations§
impl Freeze for NodePath
impl RefUnwindSafe for NodePath
impl Send for NodePath
impl Sync for NodePath
impl Unpin for NodePath
impl UnsafeUnpin for NodePath
impl UnwindSafe for NodePath
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