pub struct UpdatePaymentNote {
pub index: PaymentCreatedIndex,
pub note: Option<BoundedNote>,
}Expand description
A request to update the personal note on a payment. Pass None to clear.
Fields§
§index: PaymentCreatedIndexThe index of the payment whose note should be updated.
note: Option<BoundedNote>The updated note, or None to clear.
Trait Implementations§
Source§impl Clone for UpdatePaymentNote
impl Clone for UpdatePaymentNote
Source§fn clone(&self) -> UpdatePaymentNote
fn clone(&self) -> UpdatePaymentNote
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<'de> Deserialize<'de> for UpdatePaymentNote
impl<'de> Deserialize<'de> for UpdatePaymentNote
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 UpdatePaymentNote
impl RefUnwindSafe for UpdatePaymentNote
impl Send for UpdatePaymentNote
impl Sync for UpdatePaymentNote
impl Unpin for UpdatePaymentNote
impl UnsafeUnpin for UpdatePaymentNote
impl UnwindSafe for UpdatePaymentNote
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