#[non_exhaustive]pub struct Video {Show 14 fields
pub id: String,
pub completed_at: Option<u64>,
pub created_at: u64,
pub error: Option<VideoCreateError>,
pub expires_at: Option<u64>,
pub model: VideoModelId,
pub object: VideoObjectType,
pub progress: u32,
pub prompt: Option<String>,
pub remixed_from_video_id: Option<String>,
pub seconds: String,
pub size: VideoSize,
pub status: VideoStatus,
pub extra: Extra,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: String§completed_at: Option<u64>§created_at: u64§error: Option<VideoCreateError>§expires_at: Option<u64>§model: VideoModelId§object: VideoObjectType§progress: u32§prompt: Option<String>§remixed_from_video_id: Option<String>§seconds: String§size: VideoSize§status: VideoStatus§extra: ExtraImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Video
impl<'de> Deserialize<'de> for Video
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 Video
Auto Trait Implementations§
impl Freeze for Video
impl RefUnwindSafe for Video
impl Send for Video
impl Sync for Video
impl Unpin for Video
impl UnsafeUnpin for Video
impl UnwindSafe for Video
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