Struct odra_modules::access::events::OwnershipTransferStarted
source · pub struct OwnershipTransferStarted {
pub previous_owner: Option<Address>,
pub new_owner: Option<Address>,
}Fields§
§previous_owner: Option<Address>§new_owner: Option<Address>Trait Implementations§
source§impl BorshDeserialize for OwnershipTransferStarted
impl BorshDeserialize for OwnershipTransferStarted
source§fn deserialize(buf: &mut &[u8]) -> Result<Self>
fn deserialize(buf: &mut &[u8]) -> Result<Self>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
source§impl BorshSerialize for OwnershipTransferStarted
impl BorshSerialize for OwnershipTransferStarted
source§impl Debug for OwnershipTransferStarted
impl Debug for OwnershipTransferStarted
source§impl OdraEvent for OwnershipTransferStarted
impl OdraEvent for OwnershipTransferStarted
source§impl PartialEq<OwnershipTransferStarted> for OwnershipTransferStarted
impl PartialEq<OwnershipTransferStarted> for OwnershipTransferStarted
source§fn eq(&self, other: &OwnershipTransferStarted) -> bool
fn eq(&self, other: &OwnershipTransferStarted) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for OwnershipTransferStarted
impl StructuralEq for OwnershipTransferStarted
impl StructuralPartialEq for OwnershipTransferStarted
Auto Trait Implementations§
impl RefUnwindSafe for OwnershipTransferStarted
impl Send for OwnershipTransferStarted
impl Sync for OwnershipTransferStarted
impl Unpin for OwnershipTransferStarted
impl UnwindSafe for OwnershipTransferStarted
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