[][src]Struct ibc_proto::tx::v1beta1::mode_info::Single

pub struct Single {
    pub mode: i32,
}

Single is the mode info for a single signer. It is structured as a message to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the future

Fields

mode: i32

mode is the signing mode of the single signer

Implementations

impl Single[src]

pub fn mode(&self) -> SignMode[src]

Returns the enum value of mode, or the default if the field is set to an invalid enum value.

pub fn set_mode(&mut self, value: SignMode)[src]

Sets mode to the provided enum value.

Trait Implementations

impl Clone for Single[src]

impl Debug for Single[src]

impl Default for Single[src]

impl Message for Single[src]

impl PartialEq<Single> for Single[src]

impl StructuralPartialEq for Single[src]

Auto Trait Implementations

impl RefUnwindSafe for Single

impl Send for Single

impl Sync for Single

impl Unpin for Single

impl UnwindSafe for Single

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