pub struct ListProjectsParams {
pub limit: Option<i64>,
pub after: Option<String>,
pub include_archived: Option<bool>,
}
Fields§
§limit: Option<i64>
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
after: Option<String>
A cursor for use in pagination. after
is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.
include_archived: Option<bool>
If true
returns all projects including those that have been archived
. Archived projects are not included by default.
Implementations§
Source§impl ListProjectsParams
impl ListProjectsParams
Sourcepub fn builder() -> ListProjectsParamsBuilder<((), (), ())>
pub fn builder() -> ListProjectsParamsBuilder<((), (), ())>
Create a builder for building ListProjectsParams
.
On the builder, call .limit(...)
(optional), .after(...)
(optional), .include_archived(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of ListProjectsParams
.
Trait Implementations§
Source§impl Clone for ListProjectsParams
impl Clone for ListProjectsParams
Source§fn clone(&self) -> ListProjectsParams
fn clone(&self) -> ListProjectsParams
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ListProjectsParams
impl Debug for ListProjectsParams
Source§impl Default for ListProjectsParams
impl Default for ListProjectsParams
Source§fn default() -> ListProjectsParams
fn default() -> ListProjectsParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListProjectsParams
impl<'de> Deserialize<'de> for ListProjectsParams
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 PartialEq for ListProjectsParams
impl PartialEq for ListProjectsParams
Source§impl Serialize for ListProjectsParams
impl Serialize for ListProjectsParams
impl StructuralPartialEq for ListProjectsParams
Auto Trait Implementations§
impl Freeze for ListProjectsParams
impl RefUnwindSafe for ListProjectsParams
impl Send for ListProjectsParams
impl Sync for ListProjectsParams
impl Unpin for ListProjectsParams
impl UnwindSafe for ListProjectsParams
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