pub struct ApiErrorMessage {
pub is_api_error_message: bool,
pub content: Option<String>,
pub error: Option<String>,
pub error_details: Option<String>,
}Expand description
Assistant message structure for API errors
Fields§
§is_api_error_message: bool§content: Option<String>§error: Option<String>§error_details: Option<String>Trait Implementations§
Source§impl Clone for ApiErrorMessage
impl Clone for ApiErrorMessage
Source§fn clone(&self) -> ApiErrorMessage
fn clone(&self) -> ApiErrorMessage
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 ApiErrorMessage
impl Debug for ApiErrorMessage
Auto Trait Implementations§
impl Freeze for ApiErrorMessage
impl RefUnwindSafe for ApiErrorMessage
impl Send for ApiErrorMessage
impl Sync for ApiErrorMessage
impl Unpin for ApiErrorMessage
impl UnsafeUnpin for ApiErrorMessage
impl UnwindSafe for ApiErrorMessage
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