pub struct StoredCandidate {
pub store: StoreId,
pub candidate: ModelCandidate,
}Expand description
Candidate with the store needed to resolve its provider-defined reference.
Fields§
§store: StoreIdRegistry identity of the originating store.
candidate: ModelCandidateMetadata and locator supplied by that store.
Trait Implementations§
Source§impl Clone for StoredCandidate
impl Clone for StoredCandidate
Source§fn clone(&self) -> StoredCandidate
fn clone(&self) -> StoredCandidate
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 StoredCandidate
impl Debug for StoredCandidate
Source§impl<'de> Deserialize<'de> for StoredCandidate
impl<'de> Deserialize<'de> for StoredCandidate
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 StoredCandidate
impl RefUnwindSafe for StoredCandidate
impl Send for StoredCandidate
impl Sync for StoredCandidate
impl Unpin for StoredCandidate
impl UnsafeUnpin for StoredCandidate
impl UnwindSafe for StoredCandidate
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