#[non_exhaustive]pub struct ExtendVideoRequest {
pub prompt: String,
pub seconds: VideoExtensionSeconds,
pub video: VideoReference,
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.prompt: String§seconds: VideoExtensionSeconds§video: VideoReference§extra: ExtraImplementations§
Trait Implementations§
Source§impl Clone for ExtendVideoRequest
impl Clone for ExtendVideoRequest
Source§fn clone(&self) -> ExtendVideoRequest
fn clone(&self) -> ExtendVideoRequest
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 ExtendVideoRequest
impl Debug for ExtendVideoRequest
Source§impl<'de> Deserialize<'de> for ExtendVideoRequest
impl<'de> Deserialize<'de> for ExtendVideoRequest
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 ExtendVideoRequest
impl PartialEq for ExtendVideoRequest
Source§impl Serialize for ExtendVideoRequest
impl Serialize for ExtendVideoRequest
impl StructuralPartialEq for ExtendVideoRequest
Auto Trait Implementations§
impl Freeze for ExtendVideoRequest
impl RefUnwindSafe for ExtendVideoRequest
impl Send for ExtendVideoRequest
impl Sync for ExtendVideoRequest
impl Unpin for ExtendVideoRequest
impl UnsafeUnpin for ExtendVideoRequest
impl UnwindSafe for ExtendVideoRequest
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