Struct fvm_ipld_amt::Change
source · pub struct Change<Old, New = Old> {
pub key: u64,
pub before: Option<Old>,
pub after: Option<New>,
}
Fields§
§key: u64
§before: Option<Old>
§after: Option<New>
Implementations§
source§impl<Old, New> Change<Old, New>
impl<Old, New> Change<Old, New>
pub fn change_type(&self) -> ChangeType
Trait Implementations§
source§impl<Old: PartialEq, New: PartialEq> PartialEq for Change<Old, New>
impl<Old: PartialEq, New: PartialEq> PartialEq for Change<Old, New>
impl<Old: Eq, New: Eq> Eq for Change<Old, New>
impl<Old, New> StructuralEq for Change<Old, New>
impl<Old, New> StructuralPartialEq for Change<Old, New>
Auto Trait Implementations§
impl<Old, New> RefUnwindSafe for Change<Old, New>where New: RefUnwindSafe, Old: RefUnwindSafe,
impl<Old, New> Send for Change<Old, New>where New: Send, Old: Send,
impl<Old, New> Sync for Change<Old, New>where New: Sync, Old: Sync,
impl<Old, New> Unpin for Change<Old, New>where New: Unpin, Old: Unpin,
impl<Old, New> UnwindSafe for Change<Old, New>where New: UnwindSafe, Old: 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