pub struct UpdateInbox {
pub display_name: Option<String>,
pub metadata: Option<Value>,
}Expand description
Request body for Client::update_inbox. Fields left None are omitted
and stay unchanged; set metadata to Some(Value::Null) to clear it.
Fields§
§display_name: Option<String>Replace the human-readable sender name.
metadata: Option<Value>Replace the stored metadata.
Trait Implementations§
Source§impl Clone for UpdateInbox
impl Clone for UpdateInbox
Source§fn clone(&self) -> UpdateInbox
fn clone(&self) -> UpdateInbox
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 UpdateInbox
impl Debug for UpdateInbox
Source§impl Default for UpdateInbox
impl Default for UpdateInbox
Source§fn default() -> UpdateInbox
fn default() -> UpdateInbox
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateInbox
impl RefUnwindSafe for UpdateInbox
impl Send for UpdateInbox
impl Sync for UpdateInbox
impl Unpin for UpdateInbox
impl UnsafeUnpin for UpdateInbox
impl UnwindSafe for UpdateInbox
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