#[non_exhaustive]pub struct VideoGenerationResponseBody {
pub id: String,
pub polling_url: String,
pub status: VideoStatus,
pub error: Option<String>,
pub generation_id: Option<String>,
pub unsigned_urls: Option<Vec<String>>,
pub usage: Option<VideoUsage>,
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§polling_url: String§status: VideoStatus§error: Option<String>§generation_id: Option<String>§unsigned_urls: Option<Vec<String>>§usage: Option<VideoUsage>§rest: RestImplementations§
Source§impl VideoGenerationResponseBody
impl VideoGenerationResponseBody
Sourcepub fn builder(
id: String,
polling_url: String,
status: VideoStatus,
) -> VideoGenerationResponseBodyBuilder
pub fn builder( id: String, polling_url: String, status: VideoStatus, ) -> VideoGenerationResponseBodyBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for VideoGenerationResponseBody
impl Clone for VideoGenerationResponseBody
Source§impl Debug for VideoGenerationResponseBody
impl Debug for VideoGenerationResponseBody
Source§impl DeclaredFields for VideoGenerationResponseBody
impl DeclaredFields for VideoGenerationResponseBody
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for VideoGenerationResponseBody
impl<'de> Deserialize<'de> for VideoGenerationResponseBody
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 VideoGenerationResponseBody
impl StructuralPartialEq for VideoGenerationResponseBody
Auto Trait Implementations§
impl Freeze for VideoGenerationResponseBody
impl RefUnwindSafe for VideoGenerationResponseBody
impl Send for VideoGenerationResponseBody
impl Sync for VideoGenerationResponseBody
impl Unpin for VideoGenerationResponseBody
impl UnsafeUnpin for VideoGenerationResponseBody
impl UnwindSafe for VideoGenerationResponseBody
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