pub struct VoicemailDetectionCost {
pub type: TypeTrue,
pub model: Value,
pub provider: ProviderTrue,
pub prompt_text_tokens: f64,
pub prompt_audio_tokens: f64,
pub completion_text_tokens: f64,
pub completion_audio_tokens: f64,
pub cost: f64,
}
Fields§
§type: TypeTrue
This is the type of cost, always ‘voicemail-detection’ for this class.
model: Value
This is the model that was used to perform the analysis.
provider: ProviderTrue
This is the provider that was used to detect the voicemail.
prompt_text_tokens: f64
This is the number of prompt text tokens used in the voicemail detection.
prompt_audio_tokens: f64
This is the number of prompt audio tokens used in the voicemail detection.
completion_text_tokens: f64
This is the number of completion text tokens used in the voicemail detection.
completion_audio_tokens: f64
This is the number of completion audio tokens used in the voicemail detection.
cost: f64
This is the cost of the component in USD.
Implementations§
Trait Implementations§
Source§impl Clone for VoicemailDetectionCost
impl Clone for VoicemailDetectionCost
Source§fn clone(&self) -> VoicemailDetectionCost
fn clone(&self) -> VoicemailDetectionCost
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VoicemailDetectionCost
impl Debug for VoicemailDetectionCost
Source§impl Default for VoicemailDetectionCost
impl Default for VoicemailDetectionCost
Source§fn default() -> VoicemailDetectionCost
fn default() -> VoicemailDetectionCost
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VoicemailDetectionCost
impl<'de> Deserialize<'de> for VoicemailDetectionCost
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 VoicemailDetectionCost
impl PartialEq for VoicemailDetectionCost
Source§impl Serialize for VoicemailDetectionCost
impl Serialize for VoicemailDetectionCost
impl StructuralPartialEq for VoicemailDetectionCost
Auto Trait Implementations§
impl Freeze for VoicemailDetectionCost
impl RefUnwindSafe for VoicemailDetectionCost
impl Send for VoicemailDetectionCost
impl Sync for VoicemailDetectionCost
impl Unpin for VoicemailDetectionCost
impl UnwindSafe for VoicemailDetectionCost
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