pub struct InlineImage {
pub position: Option<u32>,
pub title: Option<String>,
pub link: Option<String>,
pub source: Option<String>,
pub source_name: Option<String>,
pub source_logo: Option<String>,
pub thumbnail: Option<String>,
pub original: Option<String>,
pub is_product: Option<bool>,
}
Expand description
Inline image
Fields§
§position: Option<u32>
§title: Option<String>
§link: Option<String>
§source: Option<String>
§source_name: Option<String>
§source_logo: Option<String>
§thumbnail: Option<String>
§original: Option<String>
§is_product: Option<bool>
Trait Implementations§
Source§impl Clone for InlineImage
impl Clone for InlineImage
Source§fn clone(&self) -> InlineImage
fn clone(&self) -> InlineImage
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 InlineImage
impl Debug for InlineImage
Source§impl<'de> Deserialize<'de> for InlineImage
impl<'de> Deserialize<'de> for InlineImage
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 InlineImage
impl RefUnwindSafe for InlineImage
impl Send for InlineImage
impl Sync for InlineImage
impl Unpin for InlineImage
impl UnwindSafe for InlineImage
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