pub struct PaymentCustomInstructions {
pub derivation_prefix: String,
pub derivation_suffix: String,
pub payee: Option<String>,
}Expand description
Custom instructions embedded in a PeerPay transaction output.
Serializes to camelCase JSON for the TS wire format.
payee is omitted when None (TS omits it when there’s no explicit payee override).
Fields§
§derivation_prefix: String§derivation_suffix: String§payee: Option<String>Trait Implementations§
Source§impl Clone for PaymentCustomInstructions
impl Clone for PaymentCustomInstructions
Source§fn clone(&self) -> PaymentCustomInstructions
fn clone(&self) -> PaymentCustomInstructions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PaymentCustomInstructions
impl Debug for PaymentCustomInstructions
Source§impl<'de> Deserialize<'de> for PaymentCustomInstructions
impl<'de> Deserialize<'de> for PaymentCustomInstructions
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 PaymentCustomInstructions
impl RefUnwindSafe for PaymentCustomInstructions
impl Send for PaymentCustomInstructions
impl Sync for PaymentCustomInstructions
impl Unpin for PaymentCustomInstructions
impl UnsafeUnpin for PaymentCustomInstructions
impl UnwindSafe for PaymentCustomInstructions
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