pub struct AccountClient { /* private fields */ }Expand description
A client scoped to one account: every path it sends starts with the account id. Made
with Client::for_account.
Implementations§
Source§impl AccountClient
impl AccountClient
Source§impl AccountClient
impl AccountClient
Sourcepub fn account(&self) -> AccountService<'_>
pub fn account(&self) -> AccountService<'_>
The Account operations, scoped to this account.
Sourcepub fn boards(&self) -> BoardsService<'_>
pub fn boards(&self) -> BoardsService<'_>
The Boards operations, scoped to this account.
Sourcepub fn cards(&self) -> CardsService<'_>
pub fn cards(&self) -> CardsService<'_>
The Cards operations, scoped to this account.
Sourcepub fn columns(&self) -> ColumnsService<'_>
pub fn columns(&self) -> ColumnsService<'_>
The Columns operations, scoped to this account.
Sourcepub fn comments(&self) -> CommentsService<'_>
pub fn comments(&self) -> CommentsService<'_>
The Comments operations, scoped to this account.
Sourcepub fn devices(&self) -> DevicesService<'_>
pub fn devices(&self) -> DevicesService<'_>
The Devices operations, scoped to this account.
Sourcepub fn identity(&self) -> IdentityService<'_>
pub fn identity(&self) -> IdentityService<'_>
The Identity operations, scoped to this account.
Sourcepub fn notifications(&self) -> NotificationsService<'_>
pub fn notifications(&self) -> NotificationsService<'_>
The Notifications operations, scoped to this account.
Sourcepub fn pins(&self) -> PinsService<'_>
pub fn pins(&self) -> PinsService<'_>
The Pins operations, scoped to this account.
Sourcepub fn reactions(&self) -> ReactionsService<'_>
pub fn reactions(&self) -> ReactionsService<'_>
The Reactions operations, scoped to this account.
Sourcepub fn search(&self) -> SearchService<'_>
pub fn search(&self) -> SearchService<'_>
The Search operations, scoped to this account.
Sourcepub fn steps(&self) -> StepsService<'_>
pub fn steps(&self) -> StepsService<'_>
The Steps operations, scoped to this account.
The Tags operations, scoped to this account.
Sourcepub fn uploads(&self) -> UploadsService<'_>
pub fn uploads(&self) -> UploadsService<'_>
The Uploads operations, scoped to this account.
Sourcepub fn users(&self) -> UsersService<'_>
pub fn users(&self) -> UsersService<'_>
The Users operations, scoped to this account.
Sourcepub fn webhooks(&self) -> WebhooksService<'_>
pub fn webhooks(&self) -> WebhooksService<'_>
The Webhooks operations, scoped to this account.
Source§impl AccountClient
impl AccountClient
Sourcepub async fn get_with(
&self,
path: &str,
options: &RequestOptions,
) -> Result<Response, Error>
pub async fn get_with( &self, path: &str, options: &RequestOptions, ) -> Result<Response, Error>
Reads a path under the account, with options of the caller’s own.
Sourcepub async fn post(
&self,
path: &str,
body: &impl Serialize,
) -> Result<Response, Error>
pub async fn post( &self, path: &str, body: &impl Serialize, ) -> Result<Response, Error>
Posts a JSON body under the account.
Sourcepub async fn post_with(
&self,
path: &str,
body: &impl Serialize,
options: &RequestOptions,
) -> Result<Response, Error>
pub async fn post_with( &self, path: &str, body: &impl Serialize, options: &RequestOptions, ) -> Result<Response, Error>
Posts a JSON body under the account, with options of the caller’s own.
Sourcepub async fn put(
&self,
path: &str,
body: &impl Serialize,
) -> Result<Response, Error>
pub async fn put( &self, path: &str, body: &impl Serialize, ) -> Result<Response, Error>
Puts a JSON body under the account.
Sourcepub async fn put_with(
&self,
path: &str,
body: &impl Serialize,
options: &RequestOptions,
) -> Result<Response, Error>
pub async fn put_with( &self, path: &str, body: &impl Serialize, options: &RequestOptions, ) -> Result<Response, Error>
Puts a JSON body under the account, with options of the caller’s own.
Sourcepub async fn patch(
&self,
path: &str,
body: &impl Serialize,
) -> Result<Response, Error>
pub async fn patch( &self, path: &str, body: &impl Serialize, ) -> Result<Response, Error>
Patches with a JSON body under the account.
Sourcepub async fn patch_with(
&self,
path: &str,
body: &impl Serialize,
options: &RequestOptions,
) -> Result<Response, Error>
pub async fn patch_with( &self, path: &str, body: &impl Serialize, options: &RequestOptions, ) -> Result<Response, Error>
Patches with a JSON body under the account, with options of the caller’s own.
Sourcepub async fn delete(&self, path: &str) -> Result<Response, Error>
pub async fn delete(&self, path: &str) -> Result<Response, Error>
Deletes a path under the account.
Sourcepub async fn delete_with(
&self,
path: &str,
options: &RequestOptions,
) -> Result<Response, Error>
pub async fn delete_with( &self, path: &str, options: &RequestOptions, ) -> Result<Response, Error>
Deletes a path under the account, with options of the caller’s own.
Sourcepub async fn get_all(&self, path: &str) -> Result<Vec<Value>, Error>
pub async fn get_all(&self, path: &str) -> Result<Vec<Value>, Error>
Reads a paginated path under the account to its end. See Client::get_all.
Sourcepub async fn get_all_with_limit(
&self,
path: &str,
limit: usize,
) -> Result<Vec<Value>, Error>
pub async fn get_all_with_limit( &self, path: &str, limit: usize, ) -> Result<Vec<Value>, Error>
Reads a paginated path under the account until limit items are in hand. See
Client::get_all_with_limit.
Trait Implementations§
Source§impl Clone for AccountClient
impl Clone for AccountClient
Source§fn clone(&self) -> AccountClient
fn clone(&self) -> AccountClient
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more