pub struct DynamicPic {
pub img_src: String,
pub img_height: u64,
pub img_width: u64,
pub img_size: f64,
}Expand description
动态图片
Fields§
§img_src: String图片 URL
img_height: u64图片高度
img_width: u64图片宽度
img_size: f64图片大小 (KB)
Trait Implementations§
Source§impl Clone for DynamicPic
impl Clone for DynamicPic
Source§fn clone(&self) -> DynamicPic
fn clone(&self) -> DynamicPic
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DynamicPic
impl Debug for DynamicPic
Source§impl<'de> Deserialize<'de> for DynamicPic
impl<'de> Deserialize<'de> for DynamicPic
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
Auto Trait Implementations§
impl Freeze for DynamicPic
impl RefUnwindSafe for DynamicPic
impl Send for DynamicPic
impl Sync for DynamicPic
impl Unpin for DynamicPic
impl UnsafeUnpin for DynamicPic
impl UnwindSafe for DynamicPic
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