pub struct VapiCost {
pub type: TypeTrue,
pub sub_type: SubTypeTrue,
pub minutes: f64,
pub cost: f64,
}
Fields§
§type: TypeTrue
This is the type of cost, always ‘vapi’ for this class.
sub_type: SubTypeTrue
This is the sub type of the cost.
minutes: f64
This is the minutes of Vapi usage. This should match call.endedAt
- call.startedAt
.
cost: f64
This is the cost of the component in USD.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VapiCost
impl<'de> Deserialize<'de> for VapiCost
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
impl StructuralPartialEq for VapiCost
Auto Trait Implementations§
impl Freeze for VapiCost
impl RefUnwindSafe for VapiCost
impl Send for VapiCost
impl Sync for VapiCost
impl Unpin for VapiCost
impl UnwindSafe for VapiCost
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