pub struct ListProjectsRequest<'a> {
pub is_active: Option<bool>,
pub client_id: Option<i64>,
pub updated_since: 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§
§is_active: Option<bool>§client_id: Option<i64>§updated_since: Option<String>§page: Option<i64>§per_page: Option<i64>Implementations§
Source§impl<'a> ListProjectsRequest<'a>
impl<'a> ListProjectsRequest<'a>
pub async fn send(self) -> Result<Projects>
pub fn is_active(self, is_active: bool) -> Self
pub fn client_id(self, client_id: i64) -> Self
pub fn updated_since(self, updated_since: &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 ListProjectsRequest<'a>
impl<'a> !RefUnwindSafe for ListProjectsRequest<'a>
impl<'a> Send for ListProjectsRequest<'a>
impl<'a> Sync for ListProjectsRequest<'a>
impl<'a> Unpin for ListProjectsRequest<'a>
impl<'a> !UnwindSafe for ListProjectsRequest<'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