pub struct WekanClient { /* private fields */ }Implementations§
Source§impl WekanClient
impl WekanClient
pub async fn oauth_provider_settings( &self, token: &SecretString, ) -> Result<OauthProviderSettings, ClientError>
pub async fn update_oauth_provider( &self, provider: &str, request: PreparedSettingsUpdate<UpdateOauthProviderRequest>, token: &SecretString, ) -> Result<OauthProviderSettings, ClientError>
pub async fn update_passwordless_settings( &self, enabled: bool, token: &SecretString, ) -> Result<PasswordlessSettings, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn admin_domains( &self, token: &SecretString, ) -> Result<Vec<DomainCount>, ClientError>
pub async fn admin_organizations( &self, token: &SecretString, ) -> Result<Vec<OrganizationSummary>, ClientError>
pub async fn admin_teams( &self, token: &SecretString, ) -> Result<Vec<TeamSummary>, ClientError>
pub async fn update_organization_features( &self, id: &str, request: &UpdateOrganizationFeatures, token: &SecretString, ) -> Result<OrganizationDocument, ClientError>
pub async fn update_team_features( &self, id: &str, request: &UpdateTeamFeatures, token: &SecretString, ) -> Result<TeamDocument, ClientError>
pub async fn update_all_organization_features( &self, field: FeatureField, value: bool, token: &SecretString, ) -> Result<FeatureUpdateResult, ClientError>
pub async fn update_all_team_features( &self, field: FeatureField, value: bool, token: &SecretString, ) -> Result<FeatureUpdateResult, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn problems_overview( &self, token: &SecretString, ) -> Result<ProblemsOverview, ClientError>
pub async fn problem_stream( &self, stream: &str, limit: u64, skip: u64, search: Option<&str>, token: &SecretString, ) -> Result<ProblemPage, ClientError>
pub async fn acknowledge_problem_stream( &self, stream: &str, token: &SecretString, ) -> Result<ProblemAcknowledgment, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn global_settings( &self, token: &SecretString, ) -> Result<GlobalSettingsDocument, ClientError>
pub async fn update_global_settings( &self, request: PreparedSettingsUpdate<UpdateGlobalSettings>, token: &SecretString, ) -> Result<GlobalSettingsDocument, ClientError>
pub async fn attachment_settings( &self, token: &SecretString, ) -> Result<AttachmentSettingsDocument, ClientError>
pub async fn update_attachment_settings( &self, request: PreparedSettingsUpdate<UpdateAttachmentSettings>, token: &SecretString, ) -> Result<AttachmentSettingsDocument, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn upload_attachment_raw( &self, request: UploadAttachmentRequest, token: &SecretString, ) -> Result<AttachmentUploadResponse, ClientError>
pub async fn upload_background_raw( &self, request: UploadBackgroundRequest, token: &SecretString, ) -> Result<BackgroundUploadResponse, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn deleted_board_attachments( &self, board: &str, token: &SecretString, ) -> Result<Vec<DeletedAttachment>, ClientError>
pub async fn soft_delete_board_attachment( &self, board: &str, attachment: &str, token: &SecretString, ) -> Result<SoftDeleteAttachmentResponse, ClientError>
pub async fn restore_board_attachment( &self, board: &str, attachment: &str, token: &SecretString, ) -> Result<RestoreAttachmentResponse, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn attachments( &self, board: &str, swimlane: Option<&str>, list: Option<&str>, card: Option<&str>, token: &SecretString, ) -> Result<AttachmentListResponse, ClientError>
pub async fn attachment_info( &self, id: &str, token: &SecretString, ) -> Result<AttachmentInfo, ClientError>
pub async fn download_attachment( &self, id: &str, token: &SecretString, ) -> Result<AttachmentDownloadResponse, ClientError>
pub async fn download_background( &self, board: &str, token: &SecretString, ) -> Result<BackgroundDownloadResponse, ClientError>
pub async fn upload_attachment( &self, request: &UploadAttachmentRequest, token: &SecretString, ) -> Result<AttachmentUploadResponse, ClientError>
pub async fn upload_background( &self, request: &UploadBackgroundRequest, token: &SecretString, ) -> Result<BackgroundUploadResponse, ClientError>
pub async fn copy_attachment( &self, request: &TransferAttachmentRequest, token: &SecretString, ) -> Result<AttachmentCopyResponse, ClientError>
pub async fn move_attachment( &self, request: &TransferAttachmentRequest, token: &SecretString, ) -> Result<AttachmentMoveResponse, ClientError>
pub async fn delete_attachment( &self, id: &str, token: &SecretString, ) -> Result<AttachmentDeleteResponse, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn export_attachment( &self, board: &str, attachment: &str, options: ExportOptions<'_>, file: &mut File, ) -> Result<ExportMetadata, ExportError>
Source§impl WekanClient
impl WekanClient
pub async fn auth_preflight( &self, endpoint: AuthEndpoint, ) -> Result<(), ClientError>
pub async fn register( &self, request: &RegisterRequest, ) -> Result<AuthSession, ClientError>
pub async fn login( &self, request: &LoginRequest, ) -> Result<AuthSession, ClientError>
pub async fn logout( &self, request: &LogoutRequest, token: &SecretString, ) -> Result<(), ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn board_attachments( &self, board: &str, token: &SecretString, ) -> Result<Vec<BoardAttachment>, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn board_card_settings( &self, board: &str, token: &SecretString, ) -> Result<BoardCardSettings, ClientError>
pub async fn update_board_card_settings( &self, board: &str, request: &UpdateBoardCardSettingsRequest, token: &SecretString, ) -> Result<BoardCardSettings, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn copy_board( &self, board_id: &str, request: &CopyBoardRequest, token: &SecretString, ) -> Result<String, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn board_domains( &self, board: &str, token: &SecretString, ) -> Result<Vec<BoardDomain>, ClientError>
pub async fn add_board_domain( &self, board: &str, domain: &str, token: &SecretString, ) -> Result<Vec<BoardDomain>, ClientError>
pub async fn remove_board_domain( &self, board: &str, domain: &str, token: &SecretString, ) -> Result<Vec<BoardDomain>, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn export_board( &self, board: &str, options: ExportOptions<'_>, file: &mut File, ) -> Result<ExportMetadata, ExportError>
Source§impl WekanClient
impl WekanClient
Sourcepub async fn import_board(
&self,
source: Option<ImportSource>,
request: PreparedImportRequest<BoardImportRequest>,
token: &SecretString,
timeout: Option<Duration>,
) -> Result<BoardImportResponse, ClientError>
pub async fn import_board( &self, source: Option<ImportSource>, request: PreparedImportRequest<BoardImportRequest>, token: &SecretString, timeout: Option<Duration>, ) -> Result<BoardImportResponse, ClientError>
Submit a typed JSON wrapper containing the complete source document.
pub async fn import_zip( &self, target: &ZipImportTarget, reader: impl AsyncRead + Send + Unpin + 'static, length: u64, token: &SecretString, query_token: bool, timeout: Option<Duration>, ) -> Result<ZipImportResponse, ClientError>
pub async fn import_zip_new_board( &self, target: &NewBoardZipImportTarget, reader: impl AsyncRead + Send + Unpin + 'static, length: u64, token: &SecretString, query_token: bool, timeout: Option<Duration>, ) -> Result<NewBoardZipImportResponse, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn board_view_settings( &self, board: &str, token: &SecretString, ) -> Result<BoardViewSettings, ClientError>
pub async fn update_board_view_settings( &self, board: &str, request: &UpdateBoardViewSettingsRequest, token: &SecretString, ) -> Result<BoardViewSettings, ClientError>
pub async fn board_card_field_order( &self, board: &str, token: &SecretString, ) -> Result<BoardCardFieldOrder, ClientError>
pub async fn update_board_card_field_order( &self, board: &str, fields: &[String], token: &SecretString, ) -> Result<BoardCardFieldOrder, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn import_trello_json( &self, body: PreparedImportRequest<BoardImportRequest>, token: &SecretString, auth: TrelloImportAuth, timeout: Option<Duration>, ) -> Result<TrelloImportResponse, ClientError>
pub async fn import_trello_zip( &self, reader: impl AsyncRead + Send + Unpin + 'static, length: u64, token: &SecretString, auth: TrelloImportAuth, members_mode: Option<&str>, timeout: Option<Duration>, ) -> Result<TrelloImportResponse, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn add_board_label( &self, board: &str, label: &AddBoardLabelRequest, token: &SecretString, ) -> Result<String, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn add_board_member( &self, board: &str, user: &str, permissions: &BoardMemberPermissions, token: &SecretString, ) -> Result<Vec<BoardSummary>, ClientError>
pub async fn remove_board_member( &self, board: &str, user: &str, token: &SecretString, ) -> Result<Vec<BoardSummary>, ClientError>
pub async fn update_board_member( &self, board: &str, user: &str, permissions: &BoardMemberPermissions, token: &SecretString, ) -> Result<u64, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn public_boards( &self, token: &SecretString, ) -> Result<Vec<BoardSummary>, ClientError>
pub async fn board_counts( &self, token: &SecretString, ) -> Result<BoardCounts, ClientError>
pub async fn board( &self, board_id: &str, token: &SecretString, ) -> Result<BoardDocument, ClientError>
pub async fn create_board( &self, request: &CreateBoardRequest, token: &SecretString, ) -> Result<CreateBoardResult, ClientError>
pub async fn rename_board( &self, board_id: &str, title: &str, token: &SecretString, ) -> Result<RenameBoardResult, ClientError>
pub async fn delete_board( &self, board_id: &str, token: &SecretString, ) -> Result<DeleteBoardResult, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn archive_card( &self, board_id: &str, list_id: &str, card_id: &str, token: &SecretString, ) -> Result<ArchiveCardResult, ClientError>
pub async fn restore_card( &self, board_id: &str, list_id: &str, card_id: &str, token: &SecretString, ) -> Result<RestoreCardResult, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn report_bot_run( &self, board: &str, card: &str, run: &str, update: &BotRunUpdate, token: &SecretString, ) -> Result<BotRunReport, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn copy_card( &self, board_id: &str, list_id: &str, card_id: &str, request: &CopyCardRequest, token: &SecretString, ) -> Result<String, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn export_card( &self, board: &str, list: &str, card: &str, options: ExportOptions<'_>, file: &mut File, ) -> Result<ExportMetadata, ExportError>
Source§impl WekanClient
impl WekanClient
pub async fn import_ics( &self, board_id: &str, swimlane_id: &str, list_id: &str, request: PreparedImportRequest<IcsImportRequest>, token: &SecretString, timeout: Option<Duration>, ) -> Result<IcsImportResponse, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn board_card_count( &self, board_id: &str, token: &SecretString, ) -> Result<u64, ClientError>
pub async fn list_card_count( &self, board_id: &str, list_id: &str, token: &SecretString, ) -> Result<u64, ClientError>
pub async fn card_by_id( &self, card_id: &str, token: &SecretString, ) -> Result<CardDocument, ClientError>
pub async fn swimlane_cards( &self, board_id: &str, swimlane_id: &str, token: &SecretString, ) -> Result<Vec<SwimlaneCardSummary>, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn bulk_create_cards( &self, board: &str, list: &str, request: &BulkCreateCardsRequest, token: &SecretString, ) -> Result<Vec<BulkCreateCardResponse>, ClientError>
pub async fn bulk_delete_cards( &self, board: &str, card_ids: &[String], token: &SecretString, ) -> Result<BulkDeleteCardsResponse, ClientError>
pub async fn bulk_card_labels( &self, board: &str, request: &BulkLabelsRequest, token: &SecretString, ) -> Result<BulkLabelsResponse, BulkLabelsError>
Source§impl WekanClient
impl WekanClient
pub async fn set_card_custom_field( &self, board: &str, list: &str, card: &str, field: &str, request: &SetCardCustomFieldRequest, token: &SecretString, ) -> Result<SetCardCustomFieldResponse, ClientError>
pub async fn cards_by_custom_field( &self, board: &str, field: &str, value: &str, token: &SecretString, ) -> Result<Vec<CardDocument>, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn add_card_member( &self, board: &str, list: &str, card: &str, user: &str, token: &SecretString, ) -> Result<CardMembershipResponse, ClientError>
pub async fn remove_card_member( &self, board: &str, list: &str, card: &str, user: &str, token: &SecretString, ) -> Result<CardMembershipResponse, ClientError>
pub async fn add_card_assignee( &self, board: &str, list: &str, card: &str, user: &str, token: &SecretString, ) -> Result<CardMembershipResponse, ClientError>
pub async fn remove_card_assignee( &self, board: &str, list: &str, card: &str, user: &str, token: &SecretString, ) -> Result<CardMembershipResponse, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn board_list_cards( &self, board_id: &str, list_id: &str, token: &SecretString, ) -> Result<Vec<CardSummary>, ClientError>
pub async fn card( &self, board_id: &str, list_id: &str, card_id: &str, token: &SecretString, ) -> Result<CardDocument, ClientError>
pub async fn create_card( &self, board_id: &str, list_id: &str, request: &CreateCardRequest, token: &SecretString, ) -> Result<CreateCardResult, ClientError>
pub async fn update_card( &self, board_id: &str, list_id: &str, card_id: &str, request: &UpdateCardRequest, token: &SecretString, ) -> Result<UpdateCardResult, ClientError>
pub async fn delete_card( &self, board_id: &str, list_id: &str, card_id: &str, token: &SecretString, ) -> Result<DeleteCardResult, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn checklist_item( &self, board_id: &str, card_id: &str, checklist_id: &str, item_id: &str, token: &SecretString, ) -> Result<ChecklistItemDocument, ClientError>
pub async fn create_checklist_item( &self, board_id: &str, card_id: &str, checklist_id: &str, request: &CreateChecklistItemRequest, token: &SecretString, ) -> Result<CreateChecklistItemResult, ClientError>
pub async fn update_checklist_item( &self, board_id: &str, card_id: &str, checklist_id: &str, item_id: &str, request: &UpdateChecklistItemRequest, token: &SecretString, ) -> Result<UpdateChecklistItemResult, ClientError>
pub async fn delete_checklist_item( &self, board_id: &str, card_id: &str, checklist_id: &str, item_id: &str, token: &SecretString, ) -> Result<DeleteChecklistItemResult, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn update_checklist( &self, board_id: &str, card_id: &str, checklist_id: &str, request: &UpdateChecklistRequest, token: &SecretString, ) -> Result<CreateChecklistResult, ClientError>
pub async fn card_checklists( &self, board_id: &str, card_id: &str, token: &SecretString, ) -> Result<Vec<ChecklistSummary>, ClientError>
pub async fn checklist( &self, board_id: &str, card_id: &str, checklist_id: &str, token: &SecretString, ) -> Result<ChecklistDocument, ClientError>
pub async fn create_checklist( &self, board_id: &str, card_id: &str, request: &CreateChecklistRequest, token: &SecretString, ) -> Result<CreateChecklistResult, ClientError>
pub async fn delete_checklist( &self, board_id: &str, card_id: &str, checklist_id: &str, token: &SecretString, ) -> Result<DeleteChecklistResult, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn update_comment( &self, board_id: &str, card_id: &str, comment_id: &str, request: &CreateCommentRequest, token: &SecretString, ) -> Result<CreateCommentResult, ClientError>
pub async fn card_comments( &self, board_id: &str, card_id: &str, token: &SecretString, ) -> Result<Vec<CommentSummary>, ClientError>
pub async fn comment( &self, board_id: &str, card_id: &str, comment_id: &str, token: &SecretString, ) -> Result<CommentDocument, ClientError>
pub async fn create_comment( &self, board_id: &str, card_id: &str, request: &CreateCommentRequest, token: &SecretString, ) -> Result<CreateCommentResult, ClientError>
pub async fn delete_comment( &self, board_id: &str, card_id: &str, comment_id: &str, token: &SecretString, ) -> Result<DeleteCommentResult, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn board_custom_fields( &self, board: &str, token: &SecretString, ) -> Result<Vec<CustomFieldSummary>, ClientError>
pub async fn custom_field( &self, board: &str, field: &str, token: &SecretString, ) -> Result<Option<CustomFieldDocument>, ClientError>
pub async fn create_custom_field( &self, board: &str, request: &CreateCustomFieldRequest, token: &SecretString, ) -> Result<CustomFieldIdResponse, ClientError>
pub async fn update_custom_field( &self, board: &str, field: &str, request: &UpdateCustomFieldRequest, token: &SecretString, ) -> Result<CustomFieldIdResponse, ClientError>
pub async fn delete_custom_field( &self, board: &str, field: &str, token: &SecretString, ) -> Result<CustomFieldIdResponse, ClientError>
pub async fn create_custom_field_items( &self, board: &str, field: &str, request: &CreateCustomFieldItemsRequest, token: &SecretString, ) -> Result<CustomFieldIdResponse, ClientError>
pub async fn update_custom_field_item( &self, board: &str, field: &str, item: &str, request: &UpdateCustomFieldItemRequest, token: &SecretString, ) -> Result<CustomFieldIdResponse, ClientError>
pub async fn delete_custom_field_item( &self, board: &str, field: &str, item: &str, token: &SecretString, ) -> Result<CustomFieldIdResponse, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn card_dependencies( &self, board: &str, card: &str, token: &SecretString, ) -> Result<Vec<CardDependencySummary>, ClientError>
pub async fn board_dependencies( &self, board: &str, token: &SecretString, ) -> Result<Vec<BoardDependencyLine>, ClientError>
pub async fn create_dependency( &self, board: &str, card: &str, request: &CreateDependencyRequest, token: &SecretString, ) -> Result<CreateDependencyResponse, ClientError>
pub async fn update_dependency( &self, board: &str, card: &str, target: &str, request: &DependencyMetadata, token: &SecretString, ) -> Result<DependencyMutationResponse, ClientError>
pub async fn delete_dependency( &self, board: &str, card: &str, target: &str, token: &SecretString, ) -> Result<DependencyMutationResponse, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn export_board_chart( &self, board: &str, chart: &str, options: ExportOptions<'_>, file: &mut File, ) -> Result<ExportMetadata, ExportError>
pub async fn export_all_boards( &self, options: ExportOptions<'_>, file: &mut File, ) -> Result<ExportMetadata, ExportError>
Source§impl WekanClient
impl WekanClient
pub async fn submit_inbound_email( &self, body: Vec<u8>, content_type: &str, headers: HeaderMap, ) -> Result<InboundEmailReceipt, ClientError>
pub async fn submit_email_bounce( &self, provider: &str, body: Vec<u8>, content_type: &str, headers: HeaderMap, ) -> Result<BounceReceipt, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn board_integrations( &self, board: &str, token: &SecretString, ) -> Result<Vec<IntegrationDocument>, ClientError>
pub async fn integration( &self, board: &str, integration: &str, token: &SecretString, ) -> Result<Option<IntegrationDocument>, ClientError>
pub async fn create_integration( &self, board: &str, request: &CreateIntegrationRequest, token: &SecretString, ) -> Result<IntegrationIdResponse, ClientError>
pub async fn update_integration( &self, board: &str, integration: &str, request: &UpdateIntegrationRequest, token: &SecretString, ) -> Result<IntegrationIdResponse, ClientError>
pub async fn delete_integration( &self, board: &str, integration: &str, token: &SecretString, ) -> Result<IntegrationIdResponse, ClientError>
pub async fn add_integration_activities( &self, board: &str, integration: &str, request: &IntegrationActivitiesRequest, token: &SecretString, ) -> Result<Option<IntegrationActivitiesResponse>, ClientError>
pub async fn remove_integration_activities( &self, board: &str, integration: &str, request: &IntegrationActivitiesRequest, token: &SecretString, ) -> Result<Option<IntegrationActivitiesResponse>, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn board_rules( &self, board: &str, token: &SecretString, ) -> Result<Vec<RuleDocument>, ClientError>
pub async fn rule( &self, board: &str, rule: &str, token: &SecretString, ) -> Result<RuleDocument, ClientError>
pub async fn create_rule( &self, board: &str, request: &CreateRuleRequest, token: &SecretString, ) -> Result<RuleCreateResponse, ClientError>
pub async fn update_rule( &self, board: &str, rule: &str, request: &UpdateRuleRequest, token: &SecretString, ) -> Result<RuleIdResponse, ClientError>
pub async fn delete_rule( &self, board: &str, rule: &str, token: &SecretString, ) -> Result<RuleIdResponse, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn set_list_archived( &self, board_id: &str, list_id: &str, archived: bool, token: &SecretString, ) -> Result<ListArchiveResponse, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn copy_list( &self, board_id: &str, list_id: &str, request: &TransferListRequest, token: &SecretString, ) -> Result<String, ClientError>
pub async fn move_list( &self, board_id: &str, list_id: &str, request: &TransferListRequest, token: &SecretString, ) -> Result<String, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn board_lists( &self, board_id: &str, token: &SecretString, ) -> Result<Vec<ListSummary>, ClientError>
pub async fn list( &self, board_id: &str, list_id: &str, token: &SecretString, ) -> Result<ListDocument, ClientError>
pub async fn create_list( &self, board_id: &str, request: &CreateListRequest, token: &SecretString, ) -> Result<CreateListResult, ClientError>
pub async fn update_list( &self, board_id: &str, list_id: &str, request: &UpdateListRequest, token: &SecretString, ) -> Result<UpdateListResult, ClientError>
pub async fn delete_list( &self, board_id: &str, list_id: &str, token: &SecretString, ) -> Result<DeleteListResult, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn copy_swimlane( &self, board_id: &str, swimlane_id: &str, request: &TransferSwimlaneRequest, token: &SecretString, ) -> Result<String, ClientError>
pub async fn move_swimlane( &self, board_id: &str, swimlane_id: &str, request: &TransferSwimlaneRequest, token: &SecretString, ) -> Result<String, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn board_swimlanes( &self, board_id: &str, token: &SecretString, ) -> Result<Vec<SwimlaneSummary>, ClientError>
pub async fn swimlane( &self, board_id: &str, swimlane_id: &str, token: &SecretString, ) -> Result<SwimlaneDocument, ClientError>
pub async fn create_swimlane( &self, board_id: &str, request: &CreateSwimlaneRequest, token: &SecretString, ) -> Result<CreateSwimlaneResult, ClientError>
pub async fn update_swimlane( &self, board_id: &str, swimlane_id: &str, request: &UpdateSwimlaneRequest, token: &SecretString, ) -> Result<UpdateSwimlaneResult, ClientError>
pub async fn delete_swimlane( &self, board_id: &str, swimlane_id: &str, token: &SecretString, ) -> Result<DeleteSwimlaneResult, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn schema_upgrade_status( &self, ) -> Result<SchemaUpgradeState, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn create_user_token( &self, user_id: &str, reason: &str, credential: &SecretString, ) -> Result<CreatedUserToken, ClientError>
pub async fn delete_user_token( &self, request: &DeleteUserTokenRequest, credential: &SecretString, ) -> Result<UserTokenDeletion, ClientError>
Source§impl WekanClient
impl WekanClient
pub async fn update_user_without_action( &self, user_id: &str, token: &SecretString, ) -> Result<UserRecord, ClientError>
pub async fn current_user( &self, token: &SecretString, ) -> Result<CurrentUser, ClientError>
pub async fn user_cards( &self, query: &UserCardQuery, token: &SecretString, ) -> Result<Vec<UserCard>, ClientError>
pub async fn users( &self, token: &SecretString, ) -> Result<Vec<UserSummary>, ClientError>
pub async fn user( &self, selector: &str, token: &SecretString, ) -> Result<UserRecord, ClientError>
pub async fn create_user( &self, request: &CreateUserRequest, token: &SecretString, ) -> Result<CreateUserResult, ClientError>
pub async fn user_boards( &self, user_id: &str, token: &SecretString, ) -> Result<Vec<BoardSummary>, ClientError>
pub async fn user_action( &self, user_id: &str, action: UserAction, token: &SecretString, ) -> Result<UserActionResult, ClientError>
pub async fn delete_user( &self, user_id: &str, token: &SecretString, ) -> Result<String, ClientError>
Trait Implementations§
Source§impl Clone for WekanClient
impl Clone for WekanClient
Auto Trait Implementations§
impl !RefUnwindSafe for WekanClient
impl !UnwindSafe for WekanClient
impl Freeze for WekanClient
impl Send for WekanClient
impl Sync for WekanClient
impl Unpin for WekanClient
impl UnsafeUnpin for WekanClient
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