pub struct TopK {
pub list: String,
pub id_field: String,
pub among: String,
pub key: Expr,
pub direction: Direction,
pub k: u64,
}Fields§
§list: String§id_field: String§among: Stringstep:<id> of a filter result; only its eligible ids are ranked.
key: Expr§direction: Direction§k: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for TopK
impl<'de> Deserialize<'de> for TopK
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 StructuralPartialEq for TopK
Auto Trait Implementations§
impl Freeze for TopK
impl RefUnwindSafe for TopK
impl Send for TopK
impl Sync for TopK
impl Unpin for TopK
impl UnsafeUnpin for TopK
impl UnwindSafe for TopK
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