pub struct WorkspaceApiError {
pub status: u16,
pub code: String,
pub category: String,
pub message: String,
pub retryable: bool,
pub request_id: Option<String>,
}Fields§
§status: u16§code: String§category: String§message: String§retryable: bool§request_id: Option<String>Trait Implementations§
Source§impl Clone for WorkspaceApiError
impl Clone for WorkspaceApiError
Source§fn clone(&self) -> WorkspaceApiError
fn clone(&self) -> WorkspaceApiError
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 WorkspaceApiError
impl Debug for WorkspaceApiError
Source§impl<'de> Deserialize<'de> for WorkspaceApiError
impl<'de> Deserialize<'de> for WorkspaceApiError
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
impl Eq for WorkspaceApiError
Source§impl PartialEq for WorkspaceApiError
impl PartialEq for WorkspaceApiError
Source§impl Serialize for WorkspaceApiError
impl Serialize for WorkspaceApiError
impl StructuralPartialEq for WorkspaceApiError
Auto Trait Implementations§
impl Freeze for WorkspaceApiError
impl RefUnwindSafe for WorkspaceApiError
impl Send for WorkspaceApiError
impl Sync for WorkspaceApiError
impl Unpin for WorkspaceApiError
impl UnsafeUnpin for WorkspaceApiError
impl UnwindSafe for WorkspaceApiError
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