pub struct ListProjects<'a> { /* private fields */ }
Expand description
Builder for Client::list_projects
Implementations§
Source§impl<'a> ListProjects<'a>
impl<'a> ListProjects<'a>
pub fn new(client: &'a Client) -> Self
pub fn limit<V>(self, value: V) -> Self
pub fn order_direction<V>(self, value: V) -> Selfwhere
V: TryInto<ListProjectsOrderDirection>,
pub fn organization_id<V>(self, value: V) -> Self
pub fn start_key<V>(self, value: V) -> Self
Sourcepub async fn send(
self,
) -> Result<ResponseValue<ListProjectsResponse>, Error<ErrorResponse>>
pub async fn send( self, ) -> Result<ResponseValue<ListProjectsResponse>, Error<ErrorResponse>>
Sends a GET
request to /v1/projects
Trait Implementations§
Source§impl<'a> Clone for ListProjects<'a>
impl<'a> Clone for ListProjects<'a>
Source§fn clone(&self) -> ListProjects<'a>
fn clone(&self) -> ListProjects<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> Freeze for ListProjects<'a>
impl<'a> !RefUnwindSafe for ListProjects<'a>
impl<'a> Send for ListProjects<'a>
impl<'a> Sync for ListProjects<'a>
impl<'a> Unpin for ListProjects<'a>
impl<'a> !UnwindSafe for ListProjects<'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