pub struct ListTimeEntriesRequest<'a> {
pub user_id: Option<i64>,
pub client_id: Option<i64>,
pub project_id: Option<i64>,
pub task_id: Option<i64>,
pub external_reference_id: Option<String>,
pub is_billed: Option<bool>,
pub is_running: Option<bool>,
pub updated_since: Option<String>,
pub from: Option<String>,
pub to: Option<String>,
pub page: Option<i64>,
pub per_page: Option<i64>,
/* private fields */
}Expand description
Create this with the associated client method.
That method takes required values as arguments. Set optional values using builder methods on this struct.
Fields§
§user_id: Option<i64>§client_id: Option<i64>§project_id: Option<i64>§task_id: Option<i64>§external_reference_id: Option<String>§is_billed: Option<bool>§is_running: Option<bool>§updated_since: Option<String>§from: Option<String>§to: Option<String>§page: Option<i64>§per_page: Option<i64>Implementations§
Source§impl<'a> ListTimeEntriesRequest<'a>
impl<'a> ListTimeEntriesRequest<'a>
pub async fn send(self) -> Result<TimeEntries>
pub fn user_id(self, user_id: i64) -> Self
pub fn client_id(self, client_id: i64) -> Self
pub fn project_id(self, project_id: i64) -> Self
pub fn task_id(self, task_id: i64) -> Self
pub fn external_reference_id(self, external_reference_id: &str) -> Self
pub fn is_billed(self, is_billed: bool) -> Self
pub fn is_running(self, is_running: bool) -> Self
pub fn updated_since(self, updated_since: &str) -> Self
pub fn from(self, from: &str) -> Self
pub fn to(self, to: &str) -> Self
pub fn page(self, page: i64) -> Self
pub fn per_page(self, per_page: i64) -> Self
Auto Trait Implementations§
impl<'a> Freeze for ListTimeEntriesRequest<'a>
impl<'a> !RefUnwindSafe for ListTimeEntriesRequest<'a>
impl<'a> Send for ListTimeEntriesRequest<'a>
impl<'a> Sync for ListTimeEntriesRequest<'a>
impl<'a> Unpin for ListTimeEntriesRequest<'a>
impl<'a> !UnwindSafe for ListTimeEntriesRequest<'a>
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