pub struct TxContentStakeAddrInner {
pub cert_index: i32,
pub address: String,
pub registration: bool,
}Fields§
§cert_index: i32Index of the certificate within the transaction
address: StringDelegation stake address
registration: boolRegistration boolean, false if deregistration
Implementations§
Trait Implementations§
source§impl Clone for TxContentStakeAddrInner
impl Clone for TxContentStakeAddrInner
source§fn clone(&self) -> TxContentStakeAddrInner
fn clone(&self) -> TxContentStakeAddrInner
Returns a copy 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 Debug for TxContentStakeAddrInner
impl Debug for TxContentStakeAddrInner
source§impl Default for TxContentStakeAddrInner
impl Default for TxContentStakeAddrInner
source§fn default() -> TxContentStakeAddrInner
fn default() -> TxContentStakeAddrInner
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TxContentStakeAddrInner
impl<'de> Deserialize<'de> for TxContentStakeAddrInner
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 TxContentStakeAddrInner
impl PartialEq for TxContentStakeAddrInner
source§fn eq(&self, other: &TxContentStakeAddrInner) -> bool
fn eq(&self, other: &TxContentStakeAddrInner) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for TxContentStakeAddrInner
impl Serialize for TxContentStakeAddrInner
impl StructuralPartialEq for TxContentStakeAddrInner
Auto Trait Implementations§
impl RefUnwindSafe for TxContentStakeAddrInner
impl Send for TxContentStakeAddrInner
impl Sync for TxContentStakeAddrInner
impl Unpin for TxContentStakeAddrInner
impl UnwindSafe for TxContentStakeAddrInner
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