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