Struct ex3_common_error_info::ErrorInfo
source · pub struct ErrorInfo {
pub code: u32,
pub message: String,
}
Fields§
§code: u32
Error code
message: String
Error message
Trait Implementations§
source§impl<'de> Deserialize<'de> for ErrorInfo
impl<'de> Deserialize<'de> for ErrorInfo
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 ErrorInfo
impl PartialEq for ErrorInfo
impl Eq for ErrorInfo
Auto Trait Implementations§
impl Freeze for ErrorInfo
impl RefUnwindSafe for ErrorInfo
impl Send for ErrorInfo
impl Sync for ErrorInfo
impl Unpin for ErrorInfo
impl UnwindSafe for ErrorInfo
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