pub struct SessionFilter {
pub project_hash: Option<String>,
pub limit: usize,
pub all_projects: bool,
pub provider: Option<String>,
pub since: Option<String>,
pub until: Option<String>,
}Fields§
§project_hash: Option<String>§limit: usize§all_projects: bool§provider: Option<String>§since: Option<String>§until: Option<String>Implementations§
Source§impl SessionFilter
impl SessionFilter
pub fn new() -> Self
pub fn limit(self, limit: usize) -> Self
pub fn project(self, project_hash: String) -> Self
pub fn all_projects(self) -> Self
pub fn provider(self, provider: String) -> 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 moreSource§impl Debug for SessionFilter
impl Debug for SessionFilter
Source§impl Default for SessionFilter
impl Default for SessionFilter
Source§fn default() -> SessionFilter
fn default() -> SessionFilter
Returns the “default value” for a type. Read more
Auto 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