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