Skip to main content

apply_sort

Function apply_sort 

Source
pub fn apply_sort(
    screener: &mut Screener,
    asset: Asset,
    sort_by: Option<&str>,
    ascending: bool,
) -> Result<()>
Expand description

Sets sort column when sort_by is present and non-empty.

ยงErrors

Returns TvscreenerError::InvalidRequest when the sort field is unknown.