pub struct ListWorkspaces<'a> { /* private fields */ }Expand description
Builder for Client::list_workspaces
Implementations§
Source§impl<'a> ListWorkspaces<'a>
impl<'a> ListWorkspaces<'a>
pub fn new(client: &'a Client) -> Self
pub fn cursor<V>(self, value: V) -> Self
pub fn limit<V>(self, value: V) -> Selfwhere
V: TryInto<NonZeroU64>,
pub fn search<V>(self, value: V) -> Self
pub fn workspace<V>(self, value: V) -> Selfwhere
V: TryInto<ListWorkspacesWorkspace>,
Sourcepub async fn send(
self,
) -> Result<ResponseValue<ListWorkspacesResponse>, Error<ApiError>>
pub async fn send( self, ) -> Result<ResponseValue<ListWorkspacesResponse>, Error<ApiError>>
Sends a GET request to /v1/workspaces
Trait Implementations§
Source§impl<'a> Clone for ListWorkspaces<'a>
impl<'a> Clone for ListWorkspaces<'a>
Source§fn clone(&self) -> ListWorkspaces<'a>
fn clone(&self) -> ListWorkspaces<'a>
Returns a duplicate 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 ListWorkspaces<'a>
impl<'a> !RefUnwindSafe for ListWorkspaces<'a>
impl<'a> Send for ListWorkspaces<'a>
impl<'a> Sync for ListWorkspaces<'a>
impl<'a> Unpin for ListWorkspaces<'a>
impl<'a> UnsafeUnpin for ListWorkspaces<'a>
impl<'a> !UnwindSafe for ListWorkspaces<'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