#[non_exhaustive]pub struct NativeVideo {Show 14 fields
pub id: String,
pub created_at: i64,
pub model: String,
pub object: NativeVideoObject,
pub progress: i64,
pub seconds: String,
pub size: NativeVideoSize,
pub status: NativeVideoStatus,
pub completed_at: Option<Option<i64>>,
pub error: Option<Option<NativeVideoError>>,
pub expires_at: Option<Option<i64>>,
pub prompt: Option<Option<String>>,
pub remixed_from_video_id: Option<Option<String>>,
pub rest: Rest,
}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§created_at: i64§model: String§object: NativeVideoObject§progress: i64§seconds: String§size: NativeVideoSize§status: NativeVideoStatus§completed_at: Option<Option<i64>>§error: Option<Option<NativeVideoError>>§expires_at: Option<Option<i64>>§prompt: Option<Option<String>>§remixed_from_video_id: Option<Option<String>>§rest: RestImplementations§
Source§impl NativeVideo
impl NativeVideo
Sourcepub fn builder(
id: String,
created_at: i64,
model: String,
object: NativeVideoObject,
progress: i64,
seconds: String,
size: NativeVideoSize,
status: NativeVideoStatus,
) -> NativeVideoBuilder
pub fn builder( id: String, created_at: i64, model: String, object: NativeVideoObject, progress: i64, seconds: String, size: NativeVideoSize, status: NativeVideoStatus, ) -> NativeVideoBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for NativeVideo
impl Clone for NativeVideo
Source§impl Debug for NativeVideo
impl Debug for NativeVideo
Source§impl DeclaredFields for NativeVideo
impl DeclaredFields for NativeVideo
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for NativeVideo
impl<'de> Deserialize<'de> for NativeVideo
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 Eq for NativeVideo
Source§impl PartialEq for NativeVideo
impl PartialEq for NativeVideo
Source§impl Serialize for NativeVideo
impl Serialize for NativeVideo
impl StructuralPartialEq for NativeVideo
Auto Trait Implementations§
impl Freeze for NativeVideo
impl RefUnwindSafe for NativeVideo
impl Send for NativeVideo
impl Sync for NativeVideo
impl Unpin for NativeVideo
impl UnsafeUnpin for NativeVideo
impl UnwindSafe for NativeVideo
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