pub struct OperationError {
pub code: String,
pub detail: String,
}Fields§
§code: String§detail: StringImplementations§
Source§impl OperationError
impl OperationError
pub fn serialize<__S>(
__self: &OperationError,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> OperationError
impl<'de> OperationError
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<OperationError, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for OperationError
impl Clone for OperationError
Source§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
Auto Trait Implementations§
impl Freeze for OperationError
impl RefUnwindSafe for OperationError
impl Send for OperationError
impl Sync for OperationError
impl Unpin for OperationError
impl UnsafeUnpin 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