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,
pub p2pk_signing_keys: Vec<SecretKey>,
pub p2pk_locked_proof_send_mode: P2PKLockedProofSendMode,
}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)
p2pk_signing_keys: Vec<SecretKey>Signing keys for P2PK-locked input proofs; auto-detected from the wallet keyring if omitted
p2pk_locked_proof_send_mode: P2PKLockedProofSendModeHow P2PK-locked input proofs should be handled during send
Trait Implementations§
Source§impl Clone for SendOptions
impl Clone for SendOptions
Source§impl Debug for SendOptions
impl Debug for SendOptions
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