Struct blockfrost_openapi::models::address_content::AddressContent
source · pub struct AddressContent {
pub address: String,
pub amount: Vec<TxContentOutputAmountInner>,
pub stake_address: Option<String>,
pub type: RHashType,
pub script: bool,
}Fields§
§address: StringBech32 encoded addresses
amount: Vec<TxContentOutputAmountInner>§stake_address: Option<String>Stake address that controls the key
type: RHashTypeAddress era
script: boolTrue if this is a script address
Implementations§
source§impl AddressContent
impl AddressContent
pub fn new( address: String, amount: Vec<TxContentOutputAmountInner>, stake_address: Option<String>, type: RHashType, script: bool ) -> AddressContent
Trait Implementations§
source§impl Clone for AddressContent
impl Clone for AddressContent
source§fn clone(&self) -> AddressContent
fn clone(&self) -> AddressContent
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 AddressContent
impl Debug for AddressContent
source§impl Default for AddressContent
impl Default for AddressContent
source§fn default() -> AddressContent
fn default() -> AddressContent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AddressContent
impl<'de> Deserialize<'de> for AddressContent
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 AddressContent
impl PartialEq for AddressContent
source§fn eq(&self, other: &AddressContent) -> bool
fn eq(&self, other: &AddressContent) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for AddressContent
impl Serialize for AddressContent
impl StructuralPartialEq for AddressContent
Auto Trait Implementations§
impl RefUnwindSafe for AddressContent
impl Send for AddressContent
impl Sync for AddressContent
impl Unpin for AddressContent
impl UnwindSafe for AddressContent
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