pub struct Payment {
pub tx: Vec<u8>,
pub outputs: Vec<PaymentOutput>,
pub description: String,
pub labels: Option<Vec<String>>,
pub seek_permission: Option<bool>,
}Expand description
A payment token for attaching BSV remittance to a sendList call.
Distinct from PaymentToken (PeerPay p2p) — this type represents an
on-chain payment submitted alongside a multi-recipient send.
Fields§
§tx: Vec<u8>§outputs: Vec<PaymentOutput>§description: String§labels: Option<Vec<String>>§seek_permission: Option<bool>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Payment
impl<'de> Deserialize<'de> for Payment
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 Payment
impl RefUnwindSafe for Payment
impl Send for Payment
impl Sync for Payment
impl Unpin for Payment
impl UnsafeUnpin for Payment
impl UnwindSafe for Payment
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