pub struct WorkspaceErrorDetails {Show 18 fields
pub schema_version: String,
pub code: String,
pub message: String,
pub cause: Option<String>,
pub scope: String,
pub operation: String,
pub resource: Option<ResourcePressureDimension>,
pub retryable: bool,
pub requested_bytes: Option<u64>,
pub available_bytes: Option<u64>,
pub reserve_bytes: Option<u64>,
pub requested_inodes: Option<u64>,
pub available_inodes: Option<u64>,
pub reserve_inodes: Option<u64>,
pub workspace: Option<String>,
pub root: Option<PathBuf>,
pub backend_id: Option<String>,
pub usage: Option<WorkspaceResourceUsage>,
}Fields§
§schema_version: String§code: String§message: String§cause: Option<String>§scope: String§operation: String§resource: Option<ResourcePressureDimension>§retryable: bool§requested_bytes: Option<u64>§available_bytes: Option<u64>§reserve_bytes: Option<u64>§requested_inodes: Option<u64>§available_inodes: Option<u64>§reserve_inodes: Option<u64>§workspace: Option<String>§root: Option<PathBuf>§backend_id: Option<String>§usage: Option<WorkspaceResourceUsage>Implementations§
Trait Implementations§
Source§impl Clone for WorkspaceErrorDetails
impl Clone for WorkspaceErrorDetails
Source§fn clone(&self) -> WorkspaceErrorDetails
fn clone(&self) -> WorkspaceErrorDetails
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 WorkspaceErrorDetails
impl Debug for WorkspaceErrorDetails
Source§impl<'de> Deserialize<'de> for WorkspaceErrorDetails
impl<'de> Deserialize<'de> for WorkspaceErrorDetails
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
Source§impl PartialEq for WorkspaceErrorDetails
impl PartialEq for WorkspaceErrorDetails
Source§impl Serialize for WorkspaceErrorDetails
impl Serialize for WorkspaceErrorDetails
impl StructuralPartialEq for WorkspaceErrorDetails
Auto Trait Implementations§
impl Freeze for WorkspaceErrorDetails
impl RefUnwindSafe for WorkspaceErrorDetails
impl Send for WorkspaceErrorDetails
impl Sync for WorkspaceErrorDetails
impl Unpin for WorkspaceErrorDetails
impl UnsafeUnpin for WorkspaceErrorDetails
impl UnwindSafe for WorkspaceErrorDetails
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