Struct grin_wallet_libwallet::api_impl::types::IssueInvoiceTxArgs
source · pub struct IssueInvoiceTxArgs {
pub dest_acct_name: Option<String>,
pub amount: u64,
pub target_slate_version: Option<u16>,
}
Expand description
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
)
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§
source§impl Clone for IssueInvoiceTxArgs
impl Clone for IssueInvoiceTxArgs
source§fn clone(&self) -> IssueInvoiceTxArgs
fn clone(&self) -> IssueInvoiceTxArgs
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for IssueInvoiceTxArgs
impl Default for IssueInvoiceTxArgs
source§fn default() -> IssueInvoiceTxArgs
fn default() -> IssueInvoiceTxArgs
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for IssueInvoiceTxArgs
impl<'de> Deserialize<'de> for IssueInvoiceTxArgs
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IssueInvoiceTxArgs
impl RefUnwindSafe for IssueInvoiceTxArgs
impl Send for IssueInvoiceTxArgs
impl Sync for IssueInvoiceTxArgs
impl Unpin for IssueInvoiceTxArgs
impl UnwindSafe for IssueInvoiceTxArgs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<'a, T> DefaultFeatures<'a> for T
impl<'a, T> DefaultFeatures<'a> for T
source§fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.source§impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
source§fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.