pub struct SettingsView {
pub my_icon: Option<CommentIcon>,
pub user_name: String,
pub notice_of_news_and_events: bool,
pub notice_of_updates_of_subscribed_titles: bool,
pub english_titles_count: u32,
pub spanish_titles_count: u32,
}
Fields§
§my_icon: Option<CommentIcon>
§user_name: String
§notice_of_news_and_events: bool
§notice_of_updates_of_subscribed_titles: bool
§english_titles_count: u32
§spanish_titles_count: u32
Trait Implementations§
Source§impl Clone for SettingsView
impl Clone for SettingsView
Source§fn clone(&self) -> SettingsView
fn clone(&self) -> SettingsView
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 SettingsView
impl Debug for SettingsView
Source§impl Default for SettingsView
impl Default for SettingsView
Source§fn default() -> SettingsView
fn default() -> SettingsView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SettingsView
impl<'de> Deserialize<'de> for SettingsView
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<'a> MessageRead<'a> for SettingsView
impl<'a> MessageRead<'a> for SettingsView
Source§fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
Constructs an instance of
Self
by reading from the given bytes
via the given reader. Read moreSource§impl MessageWrite for SettingsView
impl MessageWrite for SettingsView
Source§impl PartialEq for SettingsView
impl PartialEq for SettingsView
Source§impl Serialize for SettingsView
impl Serialize for SettingsView
impl StructuralPartialEq for SettingsView
Auto Trait Implementations§
impl Freeze for SettingsView
impl RefUnwindSafe for SettingsView
impl Send for SettingsView
impl Sync for SettingsView
impl Unpin for SettingsView
impl UnwindSafe for SettingsView
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