Struct ProvisionError
pub struct ProvisionError {
pub status: i32,
pub code: String,
pub message: String,
}Expand description
An error that occurred during the provisioning process.
Fields§
§status: i32The status code associated with the provisioning error.
code: StringThe error code associated with the provisioning error.
message: StringThe error message associated with the provisioning error.
This field contains a string that provides more details about the error that occurred during the provisioning process.
Trait Implementations§
§impl Clone for ProvisionError
impl Clone for ProvisionError
§fn clone(&self) -> ProvisionError
fn clone(&self) -> ProvisionError
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 more§impl Debug for ProvisionError
impl Debug for ProvisionError
§impl<'de> Deserialize<'de> for ProvisionError
impl<'de> Deserialize<'de> for ProvisionError
§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 Display for ProvisionError
impl Display for ProvisionError
§impl Error for ProvisionError
impl Error for ProvisionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
§impl From<ProvisionError> for Error
impl From<ProvisionError> for Error
§fn from(source: ProvisionError) -> Self
fn from(source: ProvisionError) -> Self
Converts to this type from the input type.
§impl Serialize for ProvisionError
impl Serialize for ProvisionError
Auto Trait Implementations§
impl Freeze for ProvisionError
impl RefUnwindSafe for ProvisionError
impl Send for ProvisionError
impl Sync for ProvisionError
impl Unpin for ProvisionError
impl UnwindSafe for ProvisionError
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