pub struct Client { /* private fields */ }Implementations§
Source§impl Client
impl Client
pub fn builder() -> ClientBuilder<()>
Sourcepub async fn list_boards(&self) -> Result<Vec<Board>>
pub async fn list_boards(&self) -> Result<Vec<Board>>
List boards for the authenticated member.
Sourcepub async fn create_board(&self, input: CreateBoardInput) -> Result<Board>
pub async fn create_board(&self, input: CreateBoardInput) -> Result<Board>
Create a board.
Sourcepub async fn create_card(&self, input: CreateCardInput) -> Result<Card>
pub async fn create_card(&self, input: CreateCardInput) -> Result<Card>
Create a card.
Sourcepub async fn update_card(
&self,
id: &str,
input: UpdateCardInput,
) -> Result<Card>
pub async fn update_card( &self, id: &str, input: UpdateCardInput, ) -> Result<Card>
Update a card.
Sourcepub async fn move_card(&self, id: &str, list_id: &str) -> Result<Card>
pub async fn move_card(&self, id: &str, list_id: &str) -> Result<Card>
Move a card to a different list.
Sourcepub async fn archive_card(&self, id: &str) -> Result<Card>
pub async fn archive_card(&self, id: &str) -> Result<Card>
Archive a card.
Sourcepub async fn delete_card(&self, id: &str) -> Result<()>
pub async fn delete_card(&self, id: &str) -> Result<()>
Delete a card.
Sourcepub async fn create_list(&self, input: CreateListInput) -> Result<List>
pub async fn create_list(&self, input: CreateListInput) -> Result<List>
Create a list.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Client
impl !UnwindSafe for Client
impl Freeze for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnsafeUnpin for Client
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