pub struct ContactUserPreferences {
    pub timed_messages: ContactUserPreference,
    pub full_delete: ContactUserPreference,
    pub reactions: ContactUserPreference,
    pub voice: ContactUserPreference,
    pub files: ContactUserPreference,
    pub calls: ContactUserPreference,
    pub sessions: ContactUserPreference,
    pub commands: Option<Vec<ChatBotCommand>>,
    pub undocumented: HashMap<String, JsonObject>,
}Fields§
§timed_messages: ContactUserPreference§full_delete: ContactUserPreference§reactions: ContactUserPreference§voice: ContactUserPreference§files: ContactUserPreference§calls: ContactUserPreference§sessions: ContactUserPreference§commands: Option<Vec<ChatBotCommand>>§undocumented: HashMap<String, JsonObject>Trait Implementations§
Source§impl Clone for ContactUserPreferences
 
impl Clone for ContactUserPreferences
Source§fn clone(&self) -> ContactUserPreferences
 
fn clone(&self) -> ContactUserPreferences
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 ContactUserPreferences
 
impl Debug for ContactUserPreferences
Source§impl<'de> Deserialize<'de> for ContactUserPreferences
 
impl<'de> Deserialize<'de> for ContactUserPreferences
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 ContactUserPreferences
 
impl PartialEq for ContactUserPreferences
Source§impl Serialize for ContactUserPreferences
 
impl Serialize for ContactUserPreferences
impl StructuralPartialEq for ContactUserPreferences
Auto Trait Implementations§
impl Freeze for ContactUserPreferences
impl RefUnwindSafe for ContactUserPreferences
impl Send for ContactUserPreferences
impl Sync for ContactUserPreferences
impl Unpin for ContactUserPreferences
impl UnwindSafe for ContactUserPreferences
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