pub struct GetQueryParams { /* private fields */ }
Expand description
In order of precedence when processed by Todoist.
Implementations§
Source§impl GetQueryParams
impl GetQueryParams
Sourcepub fn set_filter(&mut self, filter: Option<String>) -> &mut Self
pub fn set_filter(&mut self, filter: Option<String>) -> &mut Self
Set the get query params’s filter.
Sourcepub fn set_project_id(&mut self, project_id: Option<usize>) -> &mut Self
pub fn set_project_id(&mut self, project_id: Option<usize>) -> &mut Self
Set the get query params’s project id.
Sourcepub fn set_label_id(&mut self, label_id: Option<usize>) -> &mut Self
pub fn set_label_id(&mut self, label_id: Option<usize>) -> &mut Self
Set the get query params’s label id.
Trait Implementations§
Source§impl Clone for GetQueryParams
impl Clone for GetQueryParams
Source§fn clone(&self) -> GetQueryParams
fn clone(&self) -> GetQueryParams
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 GetQueryParams
impl Debug for GetQueryParams
Source§impl Default for GetQueryParams
impl Default for GetQueryParams
Source§fn default() -> GetQueryParams
fn default() -> GetQueryParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetQueryParams
impl<'de> Deserialize<'de> for GetQueryParams
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
Source§impl Ord for GetQueryParams
impl Ord for GetQueryParams
Source§fn cmp(&self, other: &GetQueryParams) -> Ordering
fn cmp(&self, other: &GetQueryParams) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GetQueryParams
impl PartialEq for GetQueryParams
Source§impl PartialOrd for GetQueryParams
impl PartialOrd for GetQueryParams
Source§impl Serialize for GetQueryParams
impl Serialize for GetQueryParams
impl Eq for GetQueryParams
impl StructuralPartialEq for GetQueryParams
Auto Trait Implementations§
impl Freeze for GetQueryParams
impl RefUnwindSafe for GetQueryParams
impl Send for GetQueryParams
impl Sync for GetQueryParams
impl Unpin for GetQueryParams
impl UnwindSafe for GetQueryParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.