pub struct ChannelRank {
pub channel: u8,
pub rank: u32,
}Expand description
A (channel_index, rank) pair attached to a candidate — what RRF and
explain blocks need to attribute scores to channels.
Fields§
§channel: u8§rank: u32Trait Implementations§
Source§impl Clone for ChannelRank
impl Clone for ChannelRank
Source§fn clone(&self) -> ChannelRank
fn clone(&self) -> ChannelRank
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 moreimpl Copy for ChannelRank
Source§impl Debug for ChannelRank
impl Debug for ChannelRank
Source§impl<'de> Deserialize<'de> for ChannelRank
impl<'de> Deserialize<'de> for ChannelRank
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 ChannelRank
Source§impl PartialEq for ChannelRank
impl PartialEq for ChannelRank
Source§impl Serialize for ChannelRank
impl Serialize for ChannelRank
impl StructuralPartialEq for ChannelRank
Auto Trait Implementations§
impl Freeze for ChannelRank
impl RefUnwindSafe for ChannelRank
impl Send for ChannelRank
impl Sync for ChannelRank
impl Unpin for ChannelRank
impl UnsafeUnpin for ChannelRank
impl UnwindSafe for ChannelRank
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