pub struct ResourceCommandRecord<C = ()> {
pub context: ResourceCommandContext,
pub transition: ResourceTransitionPolicy,
pub command: Option<C>,
}Expand description
Applied resource command with transaction and generation context.
Fields§
§context: ResourceCommandContextContext common to all resource command assertions.
transition: ResourceTransitionPolicyHost-facing transition policy requested by the command.
command: Option<C>Retained host command payload for open/replace/refresh commands.
Trait Implementations§
Source§impl<C: Clone> Clone for ResourceCommandRecord<C>
impl<C: Clone> Clone for ResourceCommandRecord<C>
Source§fn clone(&self) -> ResourceCommandRecord<C>
fn clone(&self) -> ResourceCommandRecord<C>
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 moreSource§impl<C: Debug> Debug for ResourceCommandRecord<C>
impl<C: Debug> Debug for ResourceCommandRecord<C>
impl<C: Eq> Eq for ResourceCommandRecord<C>
Source§impl<C: PartialEq> PartialEq for ResourceCommandRecord<C>
impl<C: PartialEq> PartialEq for ResourceCommandRecord<C>
Source§fn eq(&self, other: &ResourceCommandRecord<C>) -> bool
fn eq(&self, other: &ResourceCommandRecord<C>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<C: PartialEq> StructuralPartialEq for ResourceCommandRecord<C>
Auto Trait Implementations§
impl<C> Freeze for ResourceCommandRecord<C>where
C: Freeze,
impl<C> RefUnwindSafe for ResourceCommandRecord<C>where
C: RefUnwindSafe,
impl<C> Send for ResourceCommandRecord<C>where
C: Send,
impl<C> Sync for ResourceCommandRecord<C>where
C: Sync,
impl<C> Unpin for ResourceCommandRecord<C>where
C: Unpin,
impl<C> UnsafeUnpin for ResourceCommandRecord<C>where
C: UnsafeUnpin,
impl<C> UnwindSafe for ResourceCommandRecord<C>where
C: UnwindSafe,
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