pub struct TranscriberCost {
pub type: TypeTrue,
pub transcriber: Value,
pub minutes: f64,
pub cost: f64,
}
Fields§
§type: TypeTrue
This is the type of cost, always ‘transcriber’ for this class.
transcriber: Value
This is the transcriber that was used during the call. This matches one of the below: - call.assistant.transcriber
, - call.assistantId->transcriber
, - call.squad[n].assistant.transcriber
, - call.squad[n].assistantId->transcriber
, - call.squadId->[n].assistant.transcriber
, - call.squadId->[n].assistantId->transcriber
.
minutes: f64
This is the minutes of transcriber
usage. This should match call.endedAt
- call.startedAt
for single assistant calls, while squad calls will have multiple transcriber costs one for each assistant that was used.
cost: f64
This is the cost of the component in USD.
Implementations§
Trait Implementations§
Source§impl Clone for TranscriberCost
impl Clone for TranscriberCost
Source§fn clone(&self) -> TranscriberCost
fn clone(&self) -> TranscriberCost
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 TranscriberCost
impl Debug for TranscriberCost
Source§impl Default for TranscriberCost
impl Default for TranscriberCost
Source§fn default() -> TranscriberCost
fn default() -> TranscriberCost
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TranscriberCost
impl<'de> Deserialize<'de> for TranscriberCost
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 TranscriberCost
impl PartialEq for TranscriberCost
Source§impl Serialize for TranscriberCost
impl Serialize for TranscriberCost
impl StructuralPartialEq for TranscriberCost
Auto Trait Implementations§
impl Freeze for TranscriberCost
impl RefUnwindSafe for TranscriberCost
impl Send for TranscriberCost
impl Sync for TranscriberCost
impl Unpin for TranscriberCost
impl UnwindSafe for TranscriberCost
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