pub struct UpdatePersonalNoteRequest {
pub index: PaymentCreatedIndex,
pub personal_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.
personal_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 UpdatePersonalNoteRequest
impl<'de> Deserialize<'de> for UpdatePersonalNoteRequest
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 UpdatePersonalNoteRequest
impl RefUnwindSafe for UpdatePersonalNoteRequest
impl Send for UpdatePersonalNoteRequest
impl Sync for UpdatePersonalNoteRequest
impl Unpin for UpdatePersonalNoteRequest
impl UnwindSafe for UpdatePersonalNoteRequest
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