pub struct Teaser {
pub content_type: String,
pub width: Option<isize>,
pub height: Option<isize>,
pub rendition: Option<String>,
pub url: Option<String>,
pub id: Option<String>,
}Expand description
Paid post teaser
Fields§
§content_type: StringType of teaser
width: Option<isize>Width of content
height: Option<isize>Height of content
rendition: Option<String>Rendition of content
url: Option<String>URL of content
id: Option<String>Teaser ID
Trait Implementations§
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§
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