Struct ricq_core::msg::elem::FriendImage
source · pub struct FriendImage {
pub res_id: String,
pub file_path: String,
pub md5: Vec<u8>,
pub size: u32,
pub width: u32,
pub height: u32,
pub image_type: i32,
pub orig_url: String,
pub download_path: String,
}
Fields§
§res_id: String
§file_path: String
§md5: Vec<u8>
§size: u32
§width: u32
§height: u32
§image_type: i32
§orig_url: String
§download_path: String
Implementations§
source§impl FriendImage
impl FriendImage
Trait Implementations§
source§impl Clone for FriendImage
impl Clone for FriendImage
source§fn clone(&self) -> FriendImage
fn clone(&self) -> FriendImage
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 FriendImage
impl Debug for FriendImage
source§impl Default for FriendImage
impl Default for FriendImage
source§fn default() -> FriendImage
fn default() -> FriendImage
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FriendImage
impl<'de> Deserialize<'de> for FriendImage
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 Display for FriendImage
impl Display for FriendImage
source§impl From<FriendImage> for FlashImage
impl From<FriendImage> for FlashImage
source§fn from(e: FriendImage) -> Self
fn from(e: FriendImage) -> Self
Converts to this type from the input type.
source§impl From<FriendImage> for NotOnlineImage
impl From<FriendImage> for NotOnlineImage
source§fn from(e: FriendImage) -> Self
fn from(e: FriendImage) -> Self
Converts to this type from the input type.
source§impl From<FriendImage> for RQElem
impl From<FriendImage> for RQElem
source§fn from(e: FriendImage) -> Self
fn from(e: FriendImage) -> Self
Converts to this type from the input type.
source§impl From<FriendImage> for Vec<MessageElem>
impl From<FriendImage> for Vec<MessageElem>
source§fn from(e: FriendImage) -> Self
fn from(e: FriendImage) -> Self
Converts to this type from the input type.
source§impl From<NotOnlineImage> for FriendImage
impl From<NotOnlineImage> for FriendImage
source§fn from(e: NotOnlineImage) -> Self
fn from(e: NotOnlineImage) -> Self
Converts to this type from the input type.