pub struct VolumeError {
pub message: Option<String>,
pub time: Option<Time>,
}
Expand description
VolumeError captures an error encountered during a volume operation.
Fields§
§message: Option<String>
message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
time: Option<Time>
time represents the time the error was encountered.
Trait Implementations§
Source§impl Clone for VolumeError
impl Clone for VolumeError
Source§fn clone(&self) -> VolumeError
fn clone(&self) -> VolumeError
Returns a copy 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 VolumeError
impl Debug for VolumeError
Source§impl DeepMerge for VolumeError
impl DeepMerge for VolumeError
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for VolumeError
impl Default for VolumeError
Source§fn default() -> VolumeError
fn default() -> VolumeError
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VolumeError
impl<'de> Deserialize<'de> for VolumeError
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 JsonSchema for VolumeError
impl JsonSchema for VolumeError
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn json_schema(__gen: &mut SchemaGenerator) -> Schema
fn json_schema(__gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreSource§impl PartialEq for VolumeError
impl PartialEq for VolumeError
Source§impl Serialize for VolumeError
impl Serialize for VolumeError
impl StructuralPartialEq for VolumeError
Auto Trait Implementations§
impl Freeze for VolumeError
impl RefUnwindSafe for VolumeError
impl Send for VolumeError
impl Sync for VolumeError
impl Unpin for VolumeError
impl UnwindSafe for VolumeError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)