pub struct ColumnsService<'a> { /* private fields */ }Expand description
The Columns operations.
Implementations§
Source§impl<'a> ColumnsService<'a>
impl<'a> ColumnsService<'a>
Sourcepub async fn create(
&self,
board_id: &str,
body: &CreateColumnRequestContent,
) -> Result<Column, Error>
pub async fn create( &self, board_id: &str, body: &CreateColumnRequestContent, ) -> Result<Column, Error>
CreateColumn — POST /{accountId}/boards/{boardId}/columns.json.
Sent once and never resent.
Sourcepub async fn delete(&self, board_id: &str, column_id: &str) -> Result<(), Error>
pub async fn delete(&self, board_id: &str, column_id: &str) -> Result<(), Error>
DeleteColumn — DELETE /{accountId}/boards/{boardId}/columns/{columnId}.
Sent up to 3 times, backing off from 1000 ms, when the answer is 429, 500 or 503.
Sourcepub async fn get(
&self,
board_id: &str,
column_id: &str,
) -> Result<Column, Error>
pub async fn get( &self, board_id: &str, column_id: &str, ) -> Result<Column, Error>
GetColumn — GET /{accountId}/boards/{boardId}/columns/{columnId}.
Sent up to 3 times, backing off from 1000 ms, when the answer is 429, 500 or 503.
Sourcepub async fn list(&self, board_id: &str) -> Result<Vec<Column>, Error>
pub async fn list(&self, board_id: &str) -> Result<Vec<Column>, Error>
ListColumns — GET /{accountId}/boards/{boardId}/columns.json.
Sent up to 3 times, backing off from 1000 ms, when the answer is 429, 500 or 503.
Sourcepub async fn move_left(&self, column_id: &str) -> Result<(), Error>
pub async fn move_left(&self, column_id: &str) -> Result<(), Error>
MoveColumnLeft — POST /{accountId}/columns/{columnId}/left_position.json.
Sent up to 3 times, backing off from 1000 ms, when the answer is 429, 500 or 503. Idempotent, so a resend is safe.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ColumnsService<'a>
impl<'a> !UnwindSafe for ColumnsService<'a>
impl<'a> Freeze for ColumnsService<'a>
impl<'a> Send for ColumnsService<'a>
impl<'a> Sync for ColumnsService<'a>
impl<'a> Unpin for ColumnsService<'a>
impl<'a> UnsafeUnpin for ColumnsService<'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