pub struct ErrorItem {
pub id: String,
pub message: String,
}Expand description
An error item.
Fields§
§id: String§message: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for ErrorItem
impl<'de> Deserialize<'de> for ErrorItem
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 ErrorItem
impl RefUnwindSafe for ErrorItem
impl Send for ErrorItem
impl Sync for ErrorItem
impl Unpin for ErrorItem
impl UnsafeUnpin for ErrorItem
impl UnwindSafe for ErrorItem
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