pub struct ChatSettings {
pub enable_ntfs: MsgFilter,
pub send_rcpts: Option<bool>,
pub favorite: bool,
pub undocumented: HashMap<String, JsonObject>,
}Fields§
§enable_ntfs: MsgFilter§send_rcpts: Option<bool>§favorite: bool§undocumented: HashMap<String, JsonObject>Trait Implementations§
Source§impl Clone for ChatSettings
impl Clone for ChatSettings
Source§fn clone(&self) -> ChatSettings
fn clone(&self) -> ChatSettings
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 Debug for ChatSettings
impl Debug for ChatSettings
Source§impl<'de> Deserialize<'de> for ChatSettings
impl<'de> Deserialize<'de> for ChatSettings
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 PartialEq for ChatSettings
impl PartialEq for ChatSettings
Source§impl Serialize for ChatSettings
impl Serialize for ChatSettings
impl StructuralPartialEq for ChatSettings
Auto Trait Implementations§
impl Freeze for ChatSettings
impl RefUnwindSafe for ChatSettings
impl Send for ChatSettings
impl Sync for ChatSettings
impl Unpin for ChatSettings
impl UnwindSafe for ChatSettings
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