pub struct Query { /* private fields */ }Implementations§
Source§impl Query
impl Query
pub fn new(workspace_id: u64) -> Self
pub fn grouping(self, val: GroupingKind) -> Self
pub fn subgrouping(self, val: GroupingKind) -> Self
pub fn subgrouping_ids(self, val: bool) -> Self
pub fn grouped_time_entry_ids(self, val: bool) -> Self
pub fn calculate(self, val: CalculateKind) -> Self
pub fn since(self, val: Date<Utc>) -> Self
pub fn until(self, val: Date<Utc>) -> Self
pub fn page(self, val: u64) -> Self
pub fn billable(self, val: BillableKind) -> Self
pub fn client_ids(self, val: Vec<u64>) -> Self
pub fn project_ids(self, val: Vec<u64>) -> Self
pub fn user_ids(self, val: Vec<u64>) -> Self
pub fn members_of_group_ids(self, val: Vec<u64>) -> Self
pub fn or_members_of_group_ids(self, val: Vec<u64>) -> Self
pub fn tag_ids(self, val: Vec<u64>) -> Self
pub fn task_ids(self, val: Vec<u64>) -> Self
pub fn time_entry_ids(self, val: Vec<u64>) -> Self
pub fn description(self, val: String) -> Self
pub fn without_description(self, val: bool) -> Self
pub fn order_field(self, val: OrderKind) -> Self
pub fn order_desc(self, val: bool) -> Self
pub fn distinct_rates(self, val: bool) -> Self
pub fn rounding(self, val: bool) -> Self
pub fn display_hours(self, val: DisplayHoursKind) -> Self
pub fn to_vec(&self) -> Vec<(&'static str, String)>
Trait Implementations§
Auto Trait Implementations§
impl Forget for Query
impl Freeze for Query
impl Move for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnsafeUnpin for Query
impl UnwindSafe for Query
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more