pub struct AccountRegistrationContentInner {
pub tx_hash: String,
pub action: Action,
}Fields§
§tx_hash: StringHash of the transaction containing the (de)registration certificate
action: ActionAction in the certificate
Implementations§
Source§impl AccountRegistrationContentInner
impl AccountRegistrationContentInner
pub fn new(tx_hash: String, action: Action) -> AccountRegistrationContentInner
Trait Implementations§
Source§impl Clone for AccountRegistrationContentInner
impl Clone for AccountRegistrationContentInner
Source§fn clone(&self) -> AccountRegistrationContentInner
fn clone(&self) -> AccountRegistrationContentInner
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for AccountRegistrationContentInner
impl Default for AccountRegistrationContentInner
Source§fn default() -> AccountRegistrationContentInner
fn default() -> AccountRegistrationContentInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountRegistrationContentInner
impl<'de> Deserialize<'de> for AccountRegistrationContentInner
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
Source§impl PartialEq for AccountRegistrationContentInner
impl PartialEq for AccountRegistrationContentInner
Source§fn eq(&self, other: &AccountRegistrationContentInner) -> bool
fn eq(&self, other: &AccountRegistrationContentInner) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AccountRegistrationContentInner
Auto Trait Implementations§
impl Freeze for AccountRegistrationContentInner
impl RefUnwindSafe for AccountRegistrationContentInner
impl Send for AccountRegistrationContentInner
impl Sync for AccountRegistrationContentInner
impl Unpin for AccountRegistrationContentInner
impl UnwindSafe for AccountRegistrationContentInner
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