pub struct VideoGenerationUsage {
pub cost: Option<f64>,
pub is_byok: bool,
}Expand description
Cost / BYOK information reported on completion.
Fields§
§cost: Option<f64>USD cost of the request.
is_byok: boolTrue when served via a BYOK provider key.
Trait Implementations§
Source§impl Clone for VideoGenerationUsage
impl Clone for VideoGenerationUsage
Source§fn clone(&self) -> VideoGenerationUsage
fn clone(&self) -> VideoGenerationUsage
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 moreimpl Copy for VideoGenerationUsage
Source§impl Debug for VideoGenerationUsage
impl Debug for VideoGenerationUsage
Source§impl Default for VideoGenerationUsage
impl Default for VideoGenerationUsage
Source§fn default() -> VideoGenerationUsage
fn default() -> VideoGenerationUsage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VideoGenerationUsage
impl<'de> Deserialize<'de> for VideoGenerationUsage
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 VideoGenerationUsage
impl PartialEq for VideoGenerationUsage
Source§impl Serialize for VideoGenerationUsage
impl Serialize for VideoGenerationUsage
impl StructuralPartialEq for VideoGenerationUsage
Auto Trait Implementations§
impl Freeze for VideoGenerationUsage
impl RefUnwindSafe for VideoGenerationUsage
impl Send for VideoGenerationUsage
impl Sync for VideoGenerationUsage
impl Unpin for VideoGenerationUsage
impl UnsafeUnpin for VideoGenerationUsage
impl UnwindSafe for VideoGenerationUsage
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