pub struct SessionFilter {
pub scope: ProjectScope,
pub limit: Option<usize>,
pub provider: Option<String>,
pub order: SessionOrder,
pub since: Option<String>,
pub until: Option<String>,
}Fields§
§scope: ProjectScope§limit: Option<usize>§provider: Option<String>§order: SessionOrder§since: Option<String>§until: Option<String>Implementations§
Source§impl SessionFilter
impl SessionFilter
Sourcepub fn project(project_hash: ProjectHash) -> Self
pub fn project(project_hash: ProjectHash) -> Self
Create a filter for a specific project
pub fn limit(self, limit: usize) -> Self
pub fn provider(self, provider: String) -> Self
pub fn order(self, order: SessionOrder) -> Self
pub fn since(self, since: String) -> Self
pub fn until(self, until: String) -> Self
Trait Implementations§
Source§impl Clone for SessionFilter
impl Clone for SessionFilter
Source§fn clone(&self) -> SessionFilter
fn clone(&self) -> SessionFilter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SessionFilter
impl RefUnwindSafe for SessionFilter
impl Send for SessionFilter
impl Sync for SessionFilter
impl Unpin for SessionFilter
impl UnwindSafe for SessionFilter
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