pub struct OpenGraphVideo {
pub actors: Option<Vec<OpenGraphActor>>,
pub directors: Option<Vec<String>>,
pub duration: Option<i64>,
pub height: Option<i64>,
pub release_date: Option<DateTime<Utc>>,
pub secure_url: Option<String>,
pub tags: Option<Vec<String>>,
pub type: Option<String>,
pub url: Option<String>,
pub width: Option<i64>,
pub writers: Option<Vec<String>>,
pub extra: Map<String, Value>,
}Fields§
§actors: Option<Vec<OpenGraphActor>>§directors: Option<Vec<String>>§duration: Option<i64>The duration of the video in seconds.
height: Option<i64>The height of the video in pixels.
release_date: Option<DateTime<Utc>>The release date of the video.
secure_url: Option<String>The secure URL of the video.
Tags associated with the video.
type: Option<String>The MIME type of the video.
url: Option<String>The URL of the video.
width: Option<i64>The width of the video in pixels.
writers: Option<Vec<String>>§extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for OpenGraphVideo
impl Clone for OpenGraphVideo
Source§impl Debug for OpenGraphVideo
impl Debug for OpenGraphVideo
Source§impl Default for OpenGraphVideo
impl Default for OpenGraphVideo
Source§impl<'de> Deserialize<'de> for OpenGraphVideo
impl<'de> Deserialize<'de> for OpenGraphVideo
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 PartialEq for OpenGraphVideo
impl PartialEq for OpenGraphVideo
Source§impl Serialize for OpenGraphVideo
impl Serialize for OpenGraphVideo
impl StructuralPartialEq for OpenGraphVideo
Auto Trait Implementations§
impl Freeze for OpenGraphVideo
impl RefUnwindSafe for OpenGraphVideo
impl Send for OpenGraphVideo
impl Sync for OpenGraphVideo
impl Unpin for OpenGraphVideo
impl UnsafeUnpin for OpenGraphVideo
impl UnwindSafe for OpenGraphVideo
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