pub struct Pricing {
pub prompt: String,
pub completion: String,
pub image: Option<String>,
pub request: Option<String>,
pub input_cache_read: Option<String>,
pub input_cache_write: Option<String>,
pub web_search: Option<String>,
pub internal_reasoning: Option<String>,
}
Fields§
§prompt: String
§completion: String
§image: Option<String>
§request: Option<String>
§input_cache_read: Option<String>
§input_cache_write: Option<String>
§web_search: Option<String>
§internal_reasoning: Option<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pricing
impl<'de> Deserialize<'de> for Pricing
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 Pricing
impl RefUnwindSafe for Pricing
impl Send for Pricing
impl Sync for Pricing
impl Unpin for Pricing
impl UnwindSafe for Pricing
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