pub struct VideoFrameImage {
pub image_url: VideoImageUrl,
pub kind: String,
pub frame_type: VideoFrameType,
}Expand description
First- or last-frame reference image.
Fields§
§image_url: VideoImageUrlImage reference.
kind: StringAlways "image_url".
frame_type: VideoFrameTypeWhich frame this image represents.
Implementations§
Source§impl VideoFrameImage
impl VideoFrameImage
Sourcepub fn new(url: impl Into<String>, frame_type: VideoFrameType) -> Self
pub fn new(url: impl Into<String>, frame_type: VideoFrameType) -> Self
Construct a frame-image reference.
Trait Implementations§
Source§impl Clone for VideoFrameImage
impl Clone for VideoFrameImage
Source§fn clone(&self) -> VideoFrameImage
fn clone(&self) -> VideoFrameImage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VideoFrameImage
impl Debug for VideoFrameImage
Source§impl<'de> Deserialize<'de> for VideoFrameImage
impl<'de> Deserialize<'de> for VideoFrameImage
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 VideoFrameImage
impl PartialEq for VideoFrameImage
Source§impl Serialize for VideoFrameImage
impl Serialize for VideoFrameImage
impl StructuralPartialEq for VideoFrameImage
Auto Trait Implementations§
impl Freeze for VideoFrameImage
impl RefUnwindSafe for VideoFrameImage
impl Send for VideoFrameImage
impl Sync for VideoFrameImage
impl Unpin for VideoFrameImage
impl UnsafeUnpin for VideoFrameImage
impl UnwindSafe for VideoFrameImage
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