pub struct ResolvedCommand<'a> {
pub endpoint: EndpointId,
pub cluster: &'a ClusterDescriptor<'a>,
pub command: CommandDescriptor,
}Expand description
One command that exists on a node, with the descriptors it resolves to.
Fields§
§endpoint: EndpointIdThe endpoint.
cluster: &'a ClusterDescriptor<'a>The cluster’s descriptor.
command: CommandDescriptorThe command’s descriptor.
Implementations§
Source§impl ResolvedCommand<'_>
impl ResolvedCommand<'_>
Sourcepub const fn path(&self) -> CommandPath
pub const fn path(&self) -> CommandPath
The concrete path this resolves to.
Trait Implementations§
Source§impl<'a> Clone for ResolvedCommand<'a>
impl<'a> Clone for ResolvedCommand<'a>
Source§fn clone(&self) -> ResolvedCommand<'a>
fn clone(&self) -> ResolvedCommand<'a>
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 moreimpl<'a> Copy for ResolvedCommand<'a>
Auto Trait Implementations§
impl<'a> Freeze for ResolvedCommand<'a>
impl<'a> RefUnwindSafe for ResolvedCommand<'a>
impl<'a> Send for ResolvedCommand<'a>
impl<'a> Sync for ResolvedCommand<'a>
impl<'a> Unpin for ResolvedCommand<'a>
impl<'a> UnsafeUnpin for ResolvedCommand<'a>
impl<'a> UnwindSafe for ResolvedCommand<'a>
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