Struct demostf_client::ListParams
source · [−]pub struct ListParams { /* private fields */ }
Expand description
Parameters for demo list command
Implementations
sourceimpl ListParams
impl ListParams
sourcepub fn with_backend(self, backend: impl Into<String>) -> Self
pub fn with_backend(self, backend: impl Into<String>) -> Self
Specify the backend name to filter demos with
sourcepub fn with_map(self, map: impl Into<String>) -> Self
pub fn with_map(self, map: impl Into<String>) -> Self
Specify the map name to filter demos with
sourcepub fn with_players<T: Into<SteamID>, I: IntoIterator<Item = T>>(
self,
players: I
) -> Self
pub fn with_players<T: Into<SteamID>, I: IntoIterator<Item = T>>(
self,
players: I
) -> Self
Specify the player steam ids to filter demos with
sourcepub fn with_before(self, before: OffsetDateTime) -> Self
pub fn with_before(self, before: OffsetDateTime) -> Self
Specify the before date to filter demos with
sourcepub fn with_after(self, after: OffsetDateTime) -> Self
pub fn with_after(self, after: OffsetDateTime) -> Self
Specify the after date to filter demos with
sourcepub fn with_before_id(self, before: u64) -> Self
pub fn with_before_id(self, before: u64) -> Self
Specify the maximum demo id to filter demos with
sourcepub fn with_after_id(self, after: u64) -> Self
pub fn with_after_id(self, after: u64) -> Self
Specify the minimum demo id to filter demos with
sourcepub fn with_order(self, order: ListOrder) -> Self
pub fn with_order(self, order: ListOrder) -> Self
Specify the sort
Trait Implementations
sourceimpl Debug for ListParams
impl Debug for ListParams
sourceimpl Default for ListParams
impl Default for ListParams
sourcefn default() -> ListParams
fn default() -> ListParams
Returns the “default value” for a type. Read more
sourceimpl Serialize for ListParams
impl Serialize for ListParams
Auto Trait Implementations
impl RefUnwindSafe for ListParams
impl Send for ListParams
impl Sync for ListParams
impl Unpin for ListParams
impl UnwindSafe for ListParams
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more