Struct ResponsesGetAddressRuneBalanceData

Source
pub struct ResponsesGetAddressRuneBalanceData { /* private fields */ }

Implementations§

Source§

impl ResponsesGetAddressRuneBalanceData

Source

pub fn new() -> ResponsesGetAddressRuneBalanceData

Source

pub fn set_amount(&mut self, amount: String)

Source

pub fn with_amount(self, amount: String) -> ResponsesGetAddressRuneBalanceData

Source

pub fn amount(&self) -> Option<&String>

Source

pub fn reset_amount(&mut self)

Source

pub fn set_divisibility(&mut self, divisibility: i32)

Source

pub fn with_divisibility( self, divisibility: i32, ) -> ResponsesGetAddressRuneBalanceData

Source

pub fn divisibility(&self) -> Option<&i32>

Source

pub fn reset_divisibility(&mut self)

Source

pub fn set_rune(&mut self, rune: String)

Source

pub fn with_rune(self, rune: String) -> ResponsesGetAddressRuneBalanceData

Source

pub fn rune(&self) -> Option<&String>

Source

pub fn reset_rune(&mut self)

Source

pub fn set_runeid(&mut self, runeid: String)

Source

pub fn with_runeid(self, runeid: String) -> ResponsesGetAddressRuneBalanceData

Source

pub fn runeid(&self) -> Option<&String>

Source

pub fn reset_runeid(&mut self)

Source

pub fn set_spaced_amount(&mut self, spaced_amount: String)

Source

pub fn with_spaced_amount( self, spaced_amount: String, ) -> ResponsesGetAddressRuneBalanceData

Source

pub fn spaced_amount(&self) -> Option<&String>

Source

pub fn reset_spaced_amount(&mut self)

Source

pub fn set_spaced_rune(&mut self, spaced_rune: String)

Source

pub fn with_spaced_rune( self, spaced_rune: String, ) -> ResponsesGetAddressRuneBalanceData

Source

pub fn spaced_rune(&self) -> Option<&String>

Source

pub fn reset_spaced_rune(&mut self)

Source

pub fn set_symbol(&mut self, symbol: String)

Source

pub fn with_symbol(self, symbol: String) -> ResponsesGetAddressRuneBalanceData

Source

pub fn symbol(&self) -> Option<&String>

Source

pub fn reset_symbol(&mut self)

Trait Implementations§

Source§

impl Debug for ResponsesGetAddressRuneBalanceData

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for ResponsesGetAddressRuneBalanceData

Source§

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 Serialize for ResponsesGetAddressRuneBalanceData

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,