Struct ResponsesGetTxInfoData

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

Implementations§

Source§

impl ResponsesGetTxInfoData

Source

pub fn new() -> ResponsesGetTxInfoData

Source

pub fn set_blkid(&mut self, blkid: String)

Source

pub fn with_blkid(self, blkid: String) -> ResponsesGetTxInfoData

Source

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

Source

pub fn reset_blkid(&mut self)

Source

pub fn set_height(&mut self, height: i32)

Source

pub fn with_height(self, height: i32) -> ResponsesGetTxInfoData

Source

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

Source

pub fn reset_height(&mut self)

Source

pub fn set_idx(&mut self, idx: i32)

Source

pub fn with_idx(self, idx: i32) -> ResponsesGetTxInfoData

Source

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

Source

pub fn reset_idx(&mut self)

Source

pub fn set_in_satoshi(&mut self, in_satoshi: BigInt)

Source

pub fn with_in_satoshi(self, in_satoshi: BigInt) -> ResponsesGetTxInfoData

Source

pub fn in_satoshi(&self) -> Option<&BigInt>

Source

pub fn reset_in_satoshi(&mut self)

Source

pub fn set_locktime(&mut self, locktime: i32)

Source

pub fn with_locktime(self, locktime: i32) -> ResponsesGetTxInfoData

Source

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

Source

pub fn reset_locktime(&mut self)

Source

pub fn set_n_in(&mut self, n_in: i32)

Source

pub fn with_n_in(self, n_in: i32) -> ResponsesGetTxInfoData

Source

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

Source

pub fn reset_n_in(&mut self)

Source

pub fn set_n_in_inscription(&mut self, n_in_inscription: i32)

Source

pub fn with_n_in_inscription( self, n_in_inscription: i32, ) -> ResponsesGetTxInfoData

Source

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

Source

pub fn reset_n_in_inscription(&mut self)

Source

pub fn set_n_lost_inscription(&mut self, n_lost_inscription: i32)

Source

pub fn with_n_lost_inscription( self, n_lost_inscription: i32, ) -> ResponsesGetTxInfoData

Source

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

Source

pub fn reset_n_lost_inscription(&mut self)

Source

pub fn set_n_new_inscription(&mut self, n_new_inscription: i32)

Source

pub fn with_n_new_inscription( self, n_new_inscription: i32, ) -> ResponsesGetTxInfoData

Source

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

Source

pub fn reset_n_new_inscription(&mut self)

Source

pub fn set_n_out(&mut self, n_out: i32)

Source

pub fn with_n_out(self, n_out: i32) -> ResponsesGetTxInfoData

Source

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

Source

pub fn reset_n_out(&mut self)

Source

pub fn set_n_out_inscription(&mut self, n_out_inscription: i32)

Source

pub fn with_n_out_inscription( self, n_out_inscription: i32, ) -> ResponsesGetTxInfoData

Source

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

Source

pub fn reset_n_out_inscription(&mut self)

Source

pub fn set_out_satoshi(&mut self, out_satoshi: BigInt)

Source

pub fn with_out_satoshi(self, out_satoshi: BigInt) -> ResponsesGetTxInfoData

Source

pub fn out_satoshi(&self) -> Option<&BigInt>

Source

pub fn reset_out_satoshi(&mut self)

Source

pub fn set_size(&mut self, size: i32)

Source

pub fn with_size(self, size: i32) -> ResponsesGetTxInfoData

Source

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

Source

pub fn reset_size(&mut self)

Source

pub fn set_txid(&mut self, txid: String)

Source

pub fn with_txid(self, txid: String) -> ResponsesGetTxInfoData

Source

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

Source

pub fn reset_txid(&mut self)

Trait Implementations§

Source§

impl Debug for ResponsesGetTxInfoData

Source§

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

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

impl<'de> Deserialize<'de> for ResponsesGetTxInfoData

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 ResponsesGetTxInfoData

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>,