pub struct AddressContentExtended {
pub address: String,
pub amount: Vec<AddressContentExtendedAmountInner>,
pub stake_address: Option<String>,
pub type: Type,
pub script: bool,
}Fields§
§address: StringBech32 encoded addresses
amount: Vec<AddressContentExtendedAmountInner>§stake_address: Option<String>Stake address that controls the key
type: TypeAddress era
script: boolTrue if this is a script address
Implementations§
Source§impl AddressContentExtended
impl AddressContentExtended
pub fn new( address: String, amount: Vec<AddressContentExtendedAmountInner>, stake_address: Option<String>, type: Type, script: bool, ) -> AddressContentExtended
Trait Implementations§
Source§impl Clone for AddressContentExtended
impl Clone for AddressContentExtended
Source§fn clone(&self) -> AddressContentExtended
fn clone(&self) -> AddressContentExtended
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 Debug for AddressContentExtended
impl Debug for AddressContentExtended
Source§impl Default for AddressContentExtended
impl Default for AddressContentExtended
Source§fn default() -> AddressContentExtended
fn default() -> AddressContentExtended
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AddressContentExtended
impl<'de> Deserialize<'de> for AddressContentExtended
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 AddressContentExtended
impl PartialEq for AddressContentExtended
Source§impl Serialize for AddressContentExtended
impl Serialize for AddressContentExtended
impl StructuralPartialEq for AddressContentExtended
Auto Trait Implementations§
impl Freeze for AddressContentExtended
impl RefUnwindSafe for AddressContentExtended
impl Send for AddressContentExtended
impl Sync for AddressContentExtended
impl Unpin for AddressContentExtended
impl UnwindSafe for AddressContentExtended
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