pub enum ResourcePoolEventDetail {
Opened(StaticProvisioningBinding),
Transition {
receipt: ResourceTransitionReceipt,
context: ResourceTransitionValidationContext,
},
LeaseTransition {
receipt: ResourceLeaseTransitionReceipt,
context: ResourceLeaseValidationContext,
},
Failure(ResourceFailureReceipt),
Closed {
ledger: Vec<ResourceLedgerEntrySnapshot>,
},
}Variants§
Opened(StaticProvisioningBinding)
Transition
LeaseTransition
Failure(ResourceFailureReceipt)
Closed
Fields
§
ledger: Vec<ResourceLedgerEntrySnapshot>Trait Implementations§
Source§impl Clone for ResourcePoolEventDetail
impl Clone for ResourcePoolEventDetail
Source§fn clone(&self) -> ResourcePoolEventDetail
fn clone(&self) -> ResourcePoolEventDetail
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 Debug for ResourcePoolEventDetail
impl Debug for ResourcePoolEventDetail
impl Eq for ResourcePoolEventDetail
Source§impl PartialEq for ResourcePoolEventDetail
impl PartialEq for ResourcePoolEventDetail
Source§impl Serialize for ResourcePoolEventDetail
impl Serialize for ResourcePoolEventDetail
impl StructuralPartialEq for ResourcePoolEventDetail
Auto Trait Implementations§
impl Freeze for ResourcePoolEventDetail
impl RefUnwindSafe for ResourcePoolEventDetail
impl Send for ResourcePoolEventDetail
impl Sync for ResourcePoolEventDetail
impl Unpin for ResourcePoolEventDetail
impl UnsafeUnpin for ResourcePoolEventDetail
impl UnwindSafe for ResourcePoolEventDetail
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