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