pub struct UpdatePaymentNoteRequest {
pub index: PaymentCreatedIndex,
pub note: Option<String>,
}Expand description
A request to update the personal note on an existing payment.
Pass None to clear the note.
Fields§
§index: PaymentCreatedIndexIdentifier for the payment to be updated.
note: Option<String>The updated note, or None to clear.
If provided, it must be non-empty and no longer than 200 chars /
512 UTF-8 bytes.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UpdatePaymentNoteRequest
impl<'de> Deserialize<'de> for UpdatePaymentNoteRequest
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
Source§impl Serialize for UpdatePaymentNoteRequest
impl Serialize for UpdatePaymentNoteRequest
Auto Trait Implementations§
impl Freeze for UpdatePaymentNoteRequest
impl RefUnwindSafe for UpdatePaymentNoteRequest
impl Send for UpdatePaymentNoteRequest
impl Sync for UpdatePaymentNoteRequest
impl Unpin for UpdatePaymentNoteRequest
impl UnwindSafe for UpdatePaymentNoteRequest
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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