pub struct HostResourceCommandState {
pub scope: ScopeId,
pub command_revision: Revision,
pub resource_is_live: bool,
pub scope_owns_resource: bool,
}Expand description
Graph command state needed to classify a host resource status.
Fields§
§scope: ScopeIdScope associated with the latest command for this resource.
command_revision: RevisionLatest command revision known for this resource.
resource_is_live: boolWhether the resource is still live in graph state.
scope_owns_resource: boolWhether the status scope currently owns the live resource.
Trait Implementations§
Source§impl Clone for HostResourceCommandState
impl Clone for HostResourceCommandState
Source§fn clone(&self) -> HostResourceCommandState
fn clone(&self) -> HostResourceCommandState
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 Copy for HostResourceCommandState
Source§impl Debug for HostResourceCommandState
impl Debug for HostResourceCommandState
impl Eq for HostResourceCommandState
Source§impl PartialEq for HostResourceCommandState
impl PartialEq for HostResourceCommandState
Source§fn eq(&self, other: &HostResourceCommandState) -> bool
fn eq(&self, other: &HostResourceCommandState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HostResourceCommandState
Auto Trait Implementations§
impl Freeze for HostResourceCommandState
impl RefUnwindSafe for HostResourceCommandState
impl Send for HostResourceCommandState
impl Sync for HostResourceCommandState
impl Unpin for HostResourceCommandState
impl UnsafeUnpin for HostResourceCommandState
impl UnwindSafe for HostResourceCommandState
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