pub struct RejectedCandidate {
pub value: String,
pub reason: String,
}Fields§
§value: String§reason: StringTrait Implementations§
Source§impl Clone for RejectedCandidate
impl Clone for RejectedCandidate
Source§fn clone(&self) -> RejectedCandidate
fn clone(&self) -> RejectedCandidate
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 RejectedCandidate
impl Debug for RejectedCandidate
Source§impl<'de> Deserialize<'de> for RejectedCandidate
impl<'de> Deserialize<'de> for RejectedCandidate
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
impl Eq for RejectedCandidate
Source§impl PartialEq for RejectedCandidate
impl PartialEq for RejectedCandidate
Source§fn eq(&self, other: &RejectedCandidate) -> bool
fn eq(&self, other: &RejectedCandidate) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RejectedCandidate
impl Serialize for RejectedCandidate
impl StructuralPartialEq for RejectedCandidate
Auto Trait Implementations§
impl Freeze for RejectedCandidate
impl RefUnwindSafe for RejectedCandidate
impl Send for RejectedCandidate
impl Sync for RejectedCandidate
impl Unpin for RejectedCandidate
impl UnsafeUnpin for RejectedCandidate
impl UnwindSafe for RejectedCandidate
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