pub struct DeploymentMetrics {
pub requests_succeeded: u64,
pub requests_failed: u64,
pub rate_limited: u64,
pub circuit_open: u64,
pub timed_out: u64,
pub content_filtered: u64,
pub usage: TokenUsage,
pub cost_usd: f64,
}Fields§
§requests_succeeded: u64§requests_failed: u64§rate_limited: u64§circuit_open: u64§timed_out: u64§content_filtered: u64§usage: TokenUsage§cost_usd: f64Trait Implementations§
Source§impl Clone for DeploymentMetrics
impl Clone for DeploymentMetrics
Source§fn clone(&self) -> DeploymentMetrics
fn clone(&self) -> DeploymentMetrics
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 DeploymentMetrics
impl Debug for DeploymentMetrics
Source§impl Default for DeploymentMetrics
impl Default for DeploymentMetrics
Source§fn default() -> DeploymentMetrics
fn default() -> DeploymentMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeploymentMetrics
impl RefUnwindSafe for DeploymentMetrics
impl Send for DeploymentMetrics
impl Sync for DeploymentMetrics
impl Unpin for DeploymentMetrics
impl UnsafeUnpin for DeploymentMetrics
impl UnwindSafe for DeploymentMetrics
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