pub struct RollbackReceiptV0 {
pub pass_id: String,
pub attempted_mutation_count: Option<usize>,
pub input_content_signature: String,
pub output_preserved_content_signature: Option<String>,
pub restorable: RollbackScopeV0,
}Fields§
§pass_id: String§attempted_mutation_count: Option<usize>§input_content_signature: String§output_preserved_content_signature: Option<String>§restorable: RollbackScopeV0Implementations§
Source§impl RollbackReceiptV0
impl RollbackReceiptV0
pub fn preserves_rejected_input(&self) -> bool
pub fn covers_inverse_patch( &self, inverse_patch_count: usize, input_content_signature: &str, ) -> bool
Trait Implementations§
Source§impl Clone for RollbackReceiptV0
impl Clone for RollbackReceiptV0
Source§fn clone(&self) -> RollbackReceiptV0
fn clone(&self) -> RollbackReceiptV0
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 RollbackReceiptV0
impl Debug for RollbackReceiptV0
Source§impl<'de> Deserialize<'de> for RollbackReceiptV0
impl<'de> Deserialize<'de> for RollbackReceiptV0
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 RollbackReceiptV0
Source§impl PartialEq for RollbackReceiptV0
impl PartialEq for RollbackReceiptV0
Source§impl Serialize for RollbackReceiptV0
impl Serialize for RollbackReceiptV0
impl StructuralPartialEq for RollbackReceiptV0
Auto Trait Implementations§
impl Freeze for RollbackReceiptV0
impl RefUnwindSafe for RollbackReceiptV0
impl Send for RollbackReceiptV0
impl Sync for RollbackReceiptV0
impl Unpin for RollbackReceiptV0
impl UnsafeUnpin for RollbackReceiptV0
impl UnwindSafe for RollbackReceiptV0
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.