pub struct CoreErrorResponse {
pub code: String,
pub message: String,
pub is_transient: bool,
}Expand description
Structured error response from the native core.
Fields§
§code: StringError code (e.g. "ASR_SESSION_NOT_FOUND").
message: StringHuman-readable error message.
is_transient: boolWhether this error is transient (retryable).
Implementations§
Trait Implementations§
Source§impl Clone for CoreErrorResponse
impl Clone for CoreErrorResponse
Source§fn clone(&self) -> CoreErrorResponse
fn clone(&self) -> CoreErrorResponse
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 CoreErrorResponse
impl Debug for CoreErrorResponse
Source§impl<'de> Deserialize<'de> for CoreErrorResponse
impl<'de> Deserialize<'de> for CoreErrorResponse
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
Auto Trait Implementations§
impl Freeze for CoreErrorResponse
impl RefUnwindSafe for CoreErrorResponse
impl Send for CoreErrorResponse
impl Sync for CoreErrorResponse
impl Unpin for CoreErrorResponse
impl UnsafeUnpin for CoreErrorResponse
impl UnwindSafe for CoreErrorResponse
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