pub struct InvalidResponse(pub String);Expand description
Why an answer was rejected. Carries the console markup upstream stores in
validate_error_message / illegal_choice_message.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for InvalidResponse
impl Clone for InvalidResponse
Source§fn clone(&self) -> InvalidResponse
fn clone(&self) -> InvalidResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InvalidResponse
impl Debug for InvalidResponse
impl Eq for InvalidResponse
Source§impl PartialEq for InvalidResponse
impl PartialEq for InvalidResponse
impl StructuralPartialEq for InvalidResponse
Auto Trait Implementations§
impl Freeze for InvalidResponse
impl RefUnwindSafe for InvalidResponse
impl Send for InvalidResponse
impl Sync for InvalidResponse
impl Unpin for InvalidResponse
impl UnsafeUnpin for InvalidResponse
impl UnwindSafe for InvalidResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.