pub struct StatsResponse { /* private fields */ }Implementations§
Source§impl StatsResponse
impl StatsResponse
pub fn active_runs<T>(self, value: T) -> Self
pub fn awaiting_approval_runs<T>(self, value: T) -> Self
pub fn cancelled_runs<T>(self, value: T) -> Self
pub fn completed_runs<T>(self, value: T) -> Self
pub fn failed_runs<T>(self, value: T) -> Self
pub fn success_rate_percent<T>(self, value: T) -> Self
pub fn total_cost_usd<T>(self, value: T) -> Self
pub fn total_duration_ms<T>(self, value: T) -> Self
pub fn total_runs<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for StatsResponse
impl Clone for StatsResponse
Source§impl Debug for StatsResponse
impl Debug for StatsResponse
Source§impl Default for StatsResponse
impl Default for StatsResponse
Source§impl From<StatsResponse> for StatsResponse
impl From<StatsResponse> for StatsResponse
Source§fn from(value: StatsResponse) -> Self
fn from(value: StatsResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<StatsResponse> for StatsResponse
impl TryFrom<StatsResponse> for StatsResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: StatsResponse) -> Result<Self, ConversionError>
fn try_from(value: StatsResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for StatsResponse
impl RefUnwindSafe for StatsResponse
impl Send for StatsResponse
impl Sync for StatsResponse
impl Unpin for StatsResponse
impl UnsafeUnpin for StatsResponse
impl UnwindSafe for StatsResponse
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