pub struct ProfileSettingsView {
pub icon_list: Vec<CommentIcon>,
pub user_name: String,
pub my_icon: Option<CommentIcon>,
}
Fields§
§icon_list: Vec<CommentIcon>
§user_name: String
§my_icon: Option<CommentIcon>
Trait Implementations§
Source§impl Clone for ProfileSettingsView
impl Clone for ProfileSettingsView
Source§fn clone(&self) -> ProfileSettingsView
fn clone(&self) -> ProfileSettingsView
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 ProfileSettingsView
impl Debug for ProfileSettingsView
Source§impl Default for ProfileSettingsView
impl Default for ProfileSettingsView
Source§fn default() -> ProfileSettingsView
fn default() -> ProfileSettingsView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProfileSettingsView
impl<'de> Deserialize<'de> for ProfileSettingsView
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 ProfileSettingsView
impl<'a> MessageRead<'a> for ProfileSettingsView
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 ProfileSettingsView
impl MessageWrite for ProfileSettingsView
Source§impl PartialEq for ProfileSettingsView
impl PartialEq for ProfileSettingsView
Source§impl Serialize for ProfileSettingsView
impl Serialize for ProfileSettingsView
impl StructuralPartialEq for ProfileSettingsView
Auto Trait Implementations§
impl Freeze for ProfileSettingsView
impl RefUnwindSafe for ProfileSettingsView
impl Send for ProfileSettingsView
impl Sync for ProfileSettingsView
impl Unpin for ProfileSettingsView
impl UnwindSafe for ProfileSettingsView
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