pub struct FlexVideo {
pub type: Option<String>,
pub url: String,
pub preview_url: String,
pub alt_content: Box<FlexComponent>,
pub aspect_ratio: Option<String>,
pub action: Option<Box<Action>>,
}
Fields§
§type: Option<String>
§url: String
§preview_url: String
§alt_content: Box<FlexComponent>
§aspect_ratio: Option<String>
§action: Option<Box<Action>>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FlexVideo
impl<'de> Deserialize<'de> for FlexVideo
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
impl StructuralPartialEq for FlexVideo
Auto Trait Implementations§
impl Freeze for FlexVideo
impl RefUnwindSafe for FlexVideo
impl Send for FlexVideo
impl Sync for FlexVideo
impl Unpin for FlexVideo
impl UnwindSafe for FlexVideo
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