pub struct NodeDecl {
pub name: String,
pub role: String,
pub trait_name: String,
pub query: String,
}Fields§
§name: StringThe container’s name: ips from /ips/ip.
role: StringThe role each child plays in it: ip from /ips/ip. A hop
into this container is labelled by this role — a label names
what it lands on, never the property it came from.
trait_name: StringAn explicit trait, <addr> in node /ips/ip<addr>: …;
defaults to the role.
query: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for NodeDecl
impl RefUnwindSafe for NodeDecl
impl Send for NodeDecl
impl Sync for NodeDecl
impl Unpin for NodeDecl
impl UnsafeUnpin for NodeDecl
impl UnwindSafe for NodeDecl
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