Struct extfg_sigma::SigmaResponse[][src]

pub struct SigmaResponse {
    pub auth_serno: u64,
    pub reason: u32,
    pub fees: Vec<FeeData>,
    pub adata: Option<String>,
    // some fields omitted
}

Fields

auth_serno: u64reason: u32fees: Vec<FeeData>adata: Option<String>

Implementations

impl SigmaResponse[src]

pub fn new(mti: &str, auth_serno: u64, reason: u32) -> Result<Self, Error>[src]

pub fn decode(mut data: Bytes) -> Result<Self, Error>[src]

pub fn mti(&self) -> &str[src]

pub fn set_mti(&mut self, v: String) -> Result<(), Error>[src]

pub fn encode(&self) -> Result<Bytes, Error>[src]

Trait Implementations

impl Clone for SigmaResponse[src]

impl Debug for SigmaResponse[src]

impl<'de> Deserialize<'de> for SigmaResponse[src]

impl Serialize for SigmaResponse[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,