pub struct GeneralUISettings {
pub allowed_reactions: Option<Vec<String>>,
pub custom_emojis: Option<Vec<String>>,
pub default_theme: Option<String>,
}Expand description
GeneralUISettings contains global ui settings exposed by API
Fields§
§allowed_reactions: Option<Vec<String>>§custom_emojis: Option<Vec<String>>§default_theme: Option<String>Trait Implementations§
Source§impl Clone for GeneralUISettings
impl Clone for GeneralUISettings
Source§fn clone(&self) -> GeneralUISettings
fn clone(&self) -> GeneralUISettings
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 GeneralUISettings
impl Debug for GeneralUISettings
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 FromResponse for GeneralUISettings
impl FromResponse for GeneralUISettings
fn from_response( response: ApiResponse, has_body: bool, ) -> Result<Self, StructureError>
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