pub struct SendOptions {
pub memo: Option<SendMemo>,
pub conditions: Option<SpendingConditions>,
pub amount_split_target: SplitTarget,
pub send_kind: SendKind,
pub include_fee: bool,
pub max_proofs: Option<usize>,
pub metadata: HashMap<String, String>,
pub use_p2bk: bool,
}Expand description
Send options
Fields§
§memo: Option<SendMemo>Memo
conditions: Option<SpendingConditions>Spending conditions
amount_split_target: SplitTargetAmount split target
send_kind: SendKindSend kind
include_fee: boolInclude fee
max_proofs: Option<usize>Maximum number of proofs to include in the token
metadata: HashMap<String, String>Metadata
use_p2bk: boolUse P2BK (NUT-28)
Trait Implementations§
Source§impl Clone for SendOptions
impl Clone for SendOptions
Source§fn clone(&self) -> SendOptions
fn clone(&self) -> SendOptions
Returns a duplicate 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 Debug for SendOptions
impl Debug for SendOptions
Source§impl Default for SendOptions
impl Default for SendOptions
Source§fn default() -> SendOptions
fn default() -> SendOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SendOptions
impl RefUnwindSafe for SendOptions
impl Send for SendOptions
impl Sync for SendOptions
impl Unpin for SendOptions
impl UnsafeUnpin for SendOptions
impl UnwindSafe for SendOptions
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