pub struct ErrorAnswer {
pub error: String,
}Expand description
What this server answers when it will not do what it was asked.
Fields§
§error: StringOne line saying why, in the words of whatever refused it.
Trait Implementations§
Source§impl Clone for ErrorAnswer
impl Clone for ErrorAnswer
Source§impl Debug for ErrorAnswer
impl Debug for ErrorAnswer
Source§impl<'de> Deserialize<'de> for ErrorAnswer
impl<'de> Deserialize<'de> for ErrorAnswer
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 ErrorAnswer
impl PartialEq for ErrorAnswer
Source§impl Serialize for ErrorAnswer
impl Serialize for ErrorAnswer
impl StructuralPartialEq for ErrorAnswer
Auto Trait Implementations§
impl Freeze for ErrorAnswer
impl RefUnwindSafe for ErrorAnswer
impl Send for ErrorAnswer
impl Sync for ErrorAnswer
impl Unpin for ErrorAnswer
impl UnsafeUnpin for ErrorAnswer
impl UnwindSafe for ErrorAnswer
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