Struct odra_modules::access::events::OwnershipTransferred
source · pub struct OwnershipTransferred {
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 OwnershipTransferred
impl BorshDeserialize for OwnershipTransferred
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 OwnershipTransferred
impl BorshSerialize for OwnershipTransferred
source§impl Debug for OwnershipTransferred
impl Debug for OwnershipTransferred
source§impl OdraEvent for OwnershipTransferred
impl OdraEvent for OwnershipTransferred
source§impl PartialEq<OwnershipTransferred> for OwnershipTransferred
impl PartialEq<OwnershipTransferred> for OwnershipTransferred
source§fn eq(&self, other: &OwnershipTransferred) -> bool
fn eq(&self, other: &OwnershipTransferred) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for OwnershipTransferred
impl StructuralEq for OwnershipTransferred
impl StructuralPartialEq for OwnershipTransferred
Auto Trait Implementations§
impl RefUnwindSafe for OwnershipTransferred
impl Send for OwnershipTransferred
impl Sync for OwnershipTransferred
impl Unpin for OwnershipTransferred
impl UnwindSafe for OwnershipTransferred
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