pub struct ListRecordsQuery {
pub scope: Option<String>,
pub project_key: Option<String>,
pub status: Option<String>,
pub kind: Option<String>,
pub include_terminal: Option<bool>,
pub parent_id: Option<String>,
pub limit: Option<usize>,
}Expand description
Query string for GET /api/v1/ledger/records.
Fields§
§scope: Option<String>global | project | all (default all). Forgiving: project (or
all) without a project_key degrades to the global scope instead of
erroring.
project_key: Option<String>§status: Option<String>Comma-separated status tokens (e.g. open,in_progress).
kind: Option<String>Comma-separated kind tokens (e.g. todo,reminder).
include_terminal: Option<bool>§parent_id: Option<String>§limit: Option<usize>Trait Implementations§
Source§impl Clone for ListRecordsQuery
impl Clone for ListRecordsQuery
Source§fn clone(&self) -> ListRecordsQuery
fn clone(&self) -> ListRecordsQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ListRecordsQuery
impl Debug for ListRecordsQuery
Source§impl Default for ListRecordsQuery
impl Default for ListRecordsQuery
Source§fn default() -> ListRecordsQuery
fn default() -> ListRecordsQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListRecordsQuery
impl<'de> Deserialize<'de> for ListRecordsQuery
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
Auto Trait Implementations§
impl Freeze for ListRecordsQuery
impl RefUnwindSafe for ListRecordsQuery
impl Send for ListRecordsQuery
impl Sync for ListRecordsQuery
impl Unpin for ListRecordsQuery
impl UnsafeUnpin for ListRecordsQuery
impl UnwindSafe for ListRecordsQuery
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