pub struct VideoResult {
pub videos: Vec<VideoData>,
pub warnings: Vec<Warning>,
pub provider_metadata: Option<ProviderMetadata>,
pub response: VideoResponseInfo,
}Expand description
Result of VideoModel::do_generate.
Mirrors VideoModelV4Result.
Fields§
§videos: Vec<VideoData>Generated videos.
warnings: Vec<Warning>Warnings for the call.
provider_metadata: Option<ProviderMetadata>Provider-specific metadata.
response: VideoResponseInfoResponse info (telemetry).
Unlike RequestInfo / ResponseInfo reused elsewhere, this struct
pins timestamp and model_id as required fields to match the
upstream VideoModelV4Result.response contract (both are required
in TS).
Trait Implementations§
Source§impl Clone for VideoResult
impl Clone for VideoResult
Source§fn clone(&self) -> VideoResult
fn clone(&self) -> VideoResult
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 moreAuto Trait Implementations§
impl Freeze for VideoResult
impl RefUnwindSafe for VideoResult
impl Send for VideoResult
impl Sync for VideoResult
impl Unpin for VideoResult
impl UnsafeUnpin for VideoResult
impl UnwindSafe for VideoResult
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