[][src]Struct grin_wallet_libwallet::api_impl::types::IssueInvoiceTxArgs

pub struct IssueInvoiceTxArgs {
    pub dest_acct_name: Option<String>,
    pub amount: u64,
    pub message: Option<String>,
    pub target_slate_version: Option<u16>,
}

V2 Issue Invoice Tx Args

Fields

dest_acct_name: Option<String>

The human readable account name to which the received funds should be added overriding whatever the active account is as set via the set_active_account method.

amount: u64

The invoice amount in nanogrins. (1 G = 1_000_000_000nG)

message: Option<String>

Optional message, that will be signed

target_slate_version: Option<u16>

Optionally set the output target slate version (acceptable down to the minimum slate version compatible with the current. If None the slate is generated with the latest version.

Trait Implementations

impl Default for IssueInvoiceTxArgs[src]

impl Clone for IssueInvoiceTxArgs[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Serialize for IssueInvoiceTxArgs[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.

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

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

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

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

impl<T> Erased for T

impl<T> SafeBorrow<T> for T where
    T: ?Sized

impl<'a, T> DefaultFeatures<'a> for T where
    T: 'a + Send + Sync + Clone

impl<'a, T> NonSyncFeatures<'a> for T where
    T: 'a + Clone

impl<T> CloneAny for T where
    T: Clone + Any

impl<T> UnsafeAny for T where
    T: Any

impl<T> Same<T> for T

type Output = T

Should always be Self

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