pub struct ActivationReceipt {
pub activated: ArtifactDescriptor,
pub previous: Option<ArtifactDescriptor>,
}Expand description
Receipt required to commit or roll back one activation.
Fields§
§activated: ArtifactDescriptorArtifact that was activated.
previous: Option<ArtifactDescriptor>Previously active artifact, when one existed.
Trait Implementations§
Source§impl Clone for ActivationReceipt
impl Clone for ActivationReceipt
Source§fn clone(&self) -> ActivationReceipt
fn clone(&self) -> ActivationReceipt
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 ActivationReceipt
impl Debug for ActivationReceipt
Source§impl<'de> Deserialize<'de> for ActivationReceipt
impl<'de> Deserialize<'de> for ActivationReceipt
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ActivationReceipt
Source§impl PartialEq for ActivationReceipt
impl PartialEq for ActivationReceipt
Source§impl Serialize for ActivationReceipt
impl Serialize for ActivationReceipt
impl StructuralPartialEq for ActivationReceipt
Auto Trait Implementations§
impl Freeze for ActivationReceipt
impl RefUnwindSafe for ActivationReceipt
impl Send for ActivationReceipt
impl Sync for ActivationReceipt
impl Unpin for ActivationReceipt
impl UnsafeUnpin for ActivationReceipt
impl UnwindSafe for ActivationReceipt
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