pub struct PseudoImage {
pub url: String,
pub title: String,
pub link: String,
pub width: Option<String>,
pub height: Option<String>,
pub description: Option<String>,
}
Expand description
Serde impled version of rss::Image
Fields§
§url: String
§title: String
§link: String
§width: Option<String>
§height: Option<String>
§description: Option<String>
Trait Implementations§
Source§impl Clone for PseudoImage
impl Clone for PseudoImage
Source§fn clone(&self) -> PseudoImage
fn clone(&self) -> PseudoImage
Returns a duplicate 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 PseudoImage
impl Debug for PseudoImage
Source§impl<'de> Deserialize<'de> for PseudoImage
impl<'de> Deserialize<'de> for PseudoImage
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 From<PseudoImage> for Image
impl From<PseudoImage> for Image
Source§fn from(val: PseudoImage) -> Self
fn from(val: PseudoImage) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PseudoImage
impl RefUnwindSafe for PseudoImage
impl Send for PseudoImage
impl Sync for PseudoImage
impl Unpin for PseudoImage
impl UnwindSafe for PseudoImage
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