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