pub struct TargetCandidate {
pub token: TargetToken,
pub case_ref: CaseRef,
pub label: String,
}Expand description
One authorized candidate offered to the model or to a selection card.
Fields§
§token: TargetTokenOpaque token.
case_ref: CaseRefThe case behind it.
label: StringServer-authored human label (e.g. “Trip 12 - Ferri”).
Trait Implementations§
Source§impl Clone for TargetCandidate
impl Clone for TargetCandidate
Source§impl Debug for TargetCandidate
impl Debug for TargetCandidate
Source§impl<'de> Deserialize<'de> for TargetCandidate
impl<'de> Deserialize<'de> for TargetCandidate
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 TargetCandidate
Source§impl PartialEq for TargetCandidate
impl PartialEq for TargetCandidate
Source§impl Serialize for TargetCandidate
impl Serialize for TargetCandidate
impl StructuralPartialEq for TargetCandidate
Auto Trait Implementations§
impl Freeze for TargetCandidate
impl RefUnwindSafe for TargetCandidate
impl Send for TargetCandidate
impl Sync for TargetCandidate
impl Unpin for TargetCandidate
impl UnsafeUnpin for TargetCandidate
impl UnwindSafe for TargetCandidate
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.