pub struct SettingsUpdate {
pub dms_from_bots: Option<bool>,
}Expand description
member.settings.update: absent fields stay.
Fields§
§dms_from_bots: Option<bool>Whether bots may open DMs with this member.
Trait Implementations§
Source§impl Body for SettingsUpdate
impl Body for SettingsUpdate
Source§impl Clone for SettingsUpdate
impl Clone for SettingsUpdate
Source§fn clone(&self) -> SettingsUpdate
fn clone(&self) -> SettingsUpdate
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 moreimpl Copy for SettingsUpdate
Source§impl Debug for SettingsUpdate
impl Debug for SettingsUpdate
Source§impl Default for SettingsUpdate
impl Default for SettingsUpdate
Source§fn default() -> SettingsUpdate
fn default() -> SettingsUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SettingsUpdate
impl<'de> Deserialize<'de> for SettingsUpdate
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
impl Eq for SettingsUpdate
Source§impl PartialEq for SettingsUpdate
impl PartialEq for SettingsUpdate
Source§impl Serialize for SettingsUpdate
impl Serialize for SettingsUpdate
impl StructuralPartialEq for SettingsUpdate
Auto Trait Implementations§
impl Freeze for SettingsUpdate
impl RefUnwindSafe for SettingsUpdate
impl Send for SettingsUpdate
impl Sync for SettingsUpdate
impl Unpin for SettingsUpdate
impl UnsafeUnpin for SettingsUpdate
impl UnwindSafe for SettingsUpdate
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