pub struct SetCodeAuthorityAccount {
pub authority: Address,
pub nonce: Nonce,
pub code: SetCodeAuthorityCode,
}Expand description
Caller-provided authority account state.
Fields§
Authority account address.
nonce: NonceCurrent authority account nonce.
code: SetCodeAuthorityCodeCurrent authority account code classification.
Trait Implementations§
Source§impl Clone for SetCodeAuthorityAccount
impl Clone for SetCodeAuthorityAccount
Source§fn clone(&self) -> SetCodeAuthorityAccount
fn clone(&self) -> SetCodeAuthorityAccount
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 moreimpl Copy for SetCodeAuthorityAccount
Source§impl Debug for SetCodeAuthorityAccount
impl Debug for SetCodeAuthorityAccount
impl Eq for SetCodeAuthorityAccount
Source§impl PartialEq for SetCodeAuthorityAccount
impl PartialEq for SetCodeAuthorityAccount
Source§fn eq(&self, other: &SetCodeAuthorityAccount) -> bool
fn eq(&self, other: &SetCodeAuthorityAccount) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SetCodeAuthorityAccount
Auto Trait Implementations§
impl Freeze for SetCodeAuthorityAccount
impl RefUnwindSafe for SetCodeAuthorityAccount
impl Send for SetCodeAuthorityAccount
impl Sync for SetCodeAuthorityAccount
impl Unpin for SetCodeAuthorityAccount
impl UnsafeUnpin for SetCodeAuthorityAccount
impl UnwindSafe for SetCodeAuthorityAccount
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