[][src]Enum uckb_key::address::Args

pub enum Args {
    Simple(Vec<u8>),
    MultiSig {
        version: u8,
        first_n_required: u8,
        threshold: u8,
        contents: Vec<[u8; 20]>,
        since: Option<[u8; 8]>,
    },
}

Args

Variants

Simple(Vec<u8>)
MultiSig

Fields of MultiSig

version: u8first_n_required: u8threshold: u8contents: Vec<[u8; 20]>since: Option<[u8; 8]>

Implementations

impl Args[src]

pub fn serialize_into(&self, buf: &mut Vec<u8>)[src]

Trait Implementations

impl Clone for Args[src]

impl Debug for Args[src]

impl Default for Args[src]

impl Display for Args[src]

Auto Trait Implementations

impl RefUnwindSafe for Args

impl Send for Args

impl Sync for Args

impl Unpin for Args

impl UnwindSafe for Args

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> ToString for T where
    T: Display + ?Sized
[src]

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.