pub struct ChatWorkspacesQuery<'a, Http: HttpClient> {
pub client: &'a Client<Http>,
pub offset: Option<usize>,
pub limit: Option<usize>,
}Expand description
Query builder for listing chat workspaces.
Fields§
§client: &'a Client<Http>§offset: Option<usize>§limit: Option<usize>Implementations§
Source§impl<'a, Http: HttpClient> ChatWorkspacesQuery<'a, Http>
impl<'a, Http: HttpClient> ChatWorkspacesQuery<'a, Http>
pub fn new(client: &'a Client<Http>) -> Self
pub fn with_offset(&mut self, offset: usize) -> &mut Self
pub fn with_limit(&mut self, limit: usize) -> &mut Self
pub async fn execute(&self) -> Result<ChatWorkspacesResults, Error>
Trait Implementations§
Source§impl<'a, Http: Debug + HttpClient> Debug for ChatWorkspacesQuery<'a, Http>
impl<'a, Http: Debug + HttpClient> Debug for ChatWorkspacesQuery<'a, Http>
Source§impl<'a, Http: HttpClient> Serialize for ChatWorkspacesQuery<'a, Http>
impl<'a, Http: HttpClient> Serialize for ChatWorkspacesQuery<'a, Http>
Auto Trait Implementations§
impl<'a, Http> Freeze for ChatWorkspacesQuery<'a, Http>
impl<'a, Http> RefUnwindSafe for ChatWorkspacesQuery<'a, Http>where
Http: RefUnwindSafe,
impl<'a, Http> Send for ChatWorkspacesQuery<'a, Http>
impl<'a, Http> Sync for ChatWorkspacesQuery<'a, Http>
impl<'a, Http> Unpin for ChatWorkspacesQuery<'a, Http>
impl<'a, Http> UnsafeUnpin for ChatWorkspacesQuery<'a, Http>
impl<'a, Http> UnwindSafe for ChatWorkspacesQuery<'a, Http>where
Http: RefUnwindSafe,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more