pub struct GeneratedVideo {
pub data: Bytes,
pub media_type: MediaType,
}Expand description
A generated video.
Fields§
§data: BytesVideo bytes.
media_type: MediaTypeMedia type (reported, downloaded, detected, or video/mp4).
Trait Implementations§
Source§impl Clone for GeneratedVideo
impl Clone for GeneratedVideo
Source§fn clone(&self) -> GeneratedVideo
fn clone(&self) -> GeneratedVideo
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 GeneratedVideo
impl Debug for GeneratedVideo
impl Eq for GeneratedVideo
Source§impl PartialEq for GeneratedVideo
impl PartialEq for GeneratedVideo
impl StructuralPartialEq for GeneratedVideo
Auto Trait Implementations§
impl !Freeze for GeneratedVideo
impl RefUnwindSafe for GeneratedVideo
impl Send for GeneratedVideo
impl Sync for GeneratedVideo
impl Unpin for GeneratedVideo
impl UnsafeUnpin for GeneratedVideo
impl UnwindSafe for GeneratedVideo
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.