pub struct PostPreview {
pub width: u16,
pub height: u16,
pub url: String,
}Fields§
§width: u16§height: u16§url: StringThe URL where the preview file is hosted on E6.
Trait Implementations§
Source§impl Debug for PostPreview
impl Debug for PostPreview
Source§impl<'de> Deserialize<'de> for PostPreview
impl<'de> Deserialize<'de> for PostPreview
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 PostPreview
impl RefUnwindSafe for PostPreview
impl Send for PostPreview
impl Sync for PostPreview
impl Unpin for PostPreview
impl UnwindSafe for PostPreview
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