pub struct PublicPricing {Show 14 fields
pub prompt: Value,
pub completion: Value,
pub request: Option<Value>,
pub image: Option<Value>,
pub image_token: Option<Value>,
pub image_output: Option<Value>,
pub audio: Option<Value>,
pub audio_output: Option<Value>,
pub input_audio_cache: Option<Value>,
pub web_search: Option<Value>,
pub internal_reasoning: Option<Value>,
pub input_cache_read: Option<Value>,
pub input_cache_write: Option<Value>,
pub discount: Option<f64>,
}Fields§
§prompt: Value§completion: Value§request: Option<Value>§image: Option<Value>§image_token: Option<Value>§image_output: Option<Value>§audio: Option<Value>§audio_output: Option<Value>§input_audio_cache: Option<Value>§web_search: Option<Value>§internal_reasoning: Option<Value>§input_cache_read: Option<Value>§input_cache_write: Option<Value>§discount: Option<f64>Trait Implementations§
Source§impl Clone for PublicPricing
impl Clone for PublicPricing
Source§fn clone(&self) -> PublicPricing
fn clone(&self) -> PublicPricing
Returns a duplicate of the value. Read more
1.0.0 · 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 PublicPricing
impl Debug for PublicPricing
Source§impl<'de> Deserialize<'de> for PublicPricing
impl<'de> Deserialize<'de> for PublicPricing
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
Auto Trait Implementations§
impl Freeze for PublicPricing
impl RefUnwindSafe for PublicPricing
impl Send for PublicPricing
impl Sync for PublicPricing
impl Unpin for PublicPricing
impl UnwindSafe for PublicPricing
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