pub struct OmpFailure {Show 15 fields
pub session_id: String,
pub turn_id: String,
pub error_type: String,
pub message: String,
pub retryable: Option<bool>,
pub status: String,
pub terminal: Option<bool>,
pub category: String,
pub provider: Option<String>,
pub model: Option<String>,
pub request: State,
pub usage: State,
pub total_usd: f64,
pub metadata: State,
pub approval_id: Option<String>,
}Fields§
§session_id: String§turn_id: String§error_type: String§message: String§retryable: Option<bool>§status: String§terminal: Option<bool>§category: String§provider: Option<String>§model: Option<String>§request: State§usage: State§total_usd: f64§metadata: State§approval_id: Option<String>Trait Implementations§
Source§impl Clone for OmpFailure
impl Clone for OmpFailure
Source§fn clone(&self) -> OmpFailure
fn clone(&self) -> OmpFailure
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OmpFailure
impl Debug for OmpFailure
Auto Trait Implementations§
impl Freeze for OmpFailure
impl RefUnwindSafe for OmpFailure
impl Send for OmpFailure
impl Sync for OmpFailure
impl Unpin for OmpFailure
impl UnsafeUnpin for OmpFailure
impl UnwindSafe for OmpFailure
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