pub struct GeneralUiSettings {
pub allowed_reactions: Option<Vec<String>>,
pub custom_emojis: Option<Vec<String>>,
pub default_theme: Option<String>,
}
Expand description
GeneralUiSettings : GeneralUISettings contains global ui settings exposed by API
Fields§
§allowed_reactions: Option<Vec<String>>
§custom_emojis: Option<Vec<String>>
§default_theme: Option<String>
Implementations§
Source§impl GeneralUiSettings
impl GeneralUiSettings
Sourcepub fn new() -> GeneralUiSettings
pub fn new() -> GeneralUiSettings
GeneralUISettings contains global ui settings exposed by API
Trait Implementations§
Source§impl Clone for GeneralUiSettings
impl Clone for GeneralUiSettings
Source§fn clone(&self) -> GeneralUiSettings
fn clone(&self) -> GeneralUiSettings
Returns a copy 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 GeneralUiSettings
impl Debug for GeneralUiSettings
Source§impl Default for GeneralUiSettings
impl Default for GeneralUiSettings
Source§fn default() -> GeneralUiSettings
fn default() -> GeneralUiSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GeneralUiSettings
impl<'de> Deserialize<'de> for GeneralUiSettings
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 GeneralUiSettings
impl PartialEq for GeneralUiSettings
Source§impl Serialize for GeneralUiSettings
impl Serialize for GeneralUiSettings
impl StructuralPartialEq for GeneralUiSettings
Auto Trait Implementations§
impl Freeze for GeneralUiSettings
impl RefUnwindSafe for GeneralUiSettings
impl Send for GeneralUiSettings
impl Sync for GeneralUiSettings
impl Unpin for GeneralUiSettings
impl UnwindSafe for GeneralUiSettings
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