pub struct OperationProblem {
pub code: String,
pub details: Option<String>,
pub message: String,
pub severity: String,
}Expand description
OperationProblem : A problem with additional properties persisted to an operation.
Fields§
§code: StringAn error code that identifies the type of error that occurred.
details: Option<String>Additional details that can help the caller understand or fix the issue.
message: StringA message that describes the error condition.
severity: StringThe severity of the problem. Possible values: WARNING, ERROR.
Implementations§
Trait Implementations§
Source§impl Clone for OperationProblem
impl Clone for OperationProblem
Source§fn clone(&self) -> OperationProblem
fn clone(&self) -> OperationProblem
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 moreSource§impl Debug for OperationProblem
impl Debug for OperationProblem
Source§impl Default for OperationProblem
impl Default for OperationProblem
Source§fn default() -> OperationProblem
fn default() -> OperationProblem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OperationProblem
impl<'de> Deserialize<'de> for OperationProblem
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 OperationProblem
impl PartialEq for OperationProblem
Source§impl Serialize for OperationProblem
impl Serialize for OperationProblem
impl StructuralPartialEq for OperationProblem
Auto Trait Implementations§
impl Freeze for OperationProblem
impl RefUnwindSafe for OperationProblem
impl Send for OperationProblem
impl Sync for OperationProblem
impl Unpin for OperationProblem
impl UnwindSafe for OperationProblem
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