pub struct RetrievalSource {
pub provider: String,
pub channel: RetrievalChannel,
pub rank: usize,
pub raw_score: u32,
}Fields§
§provider: String§channel: RetrievalChannel§rank: usize§raw_score: u32Trait Implementations§
Source§impl Clone for RetrievalSource
impl Clone for RetrievalSource
Source§fn clone(&self) -> RetrievalSource
fn clone(&self) -> RetrievalSource
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 RetrievalSource
impl Debug for RetrievalSource
Source§impl<'de> Deserialize<'de> for RetrievalSource
impl<'de> Deserialize<'de> for RetrievalSource
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 RetrievalSource
Source§impl PartialEq for RetrievalSource
impl PartialEq for RetrievalSource
Source§impl Serialize for RetrievalSource
impl Serialize for RetrievalSource
impl StructuralPartialEq for RetrievalSource
Auto Trait Implementations§
impl Freeze for RetrievalSource
impl RefUnwindSafe for RetrievalSource
impl Send for RetrievalSource
impl Sync for RetrievalSource
impl Unpin for RetrievalSource
impl UnsafeUnpin for RetrievalSource
impl UnwindSafe for RetrievalSource
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