pub struct BoardRef { /* private fields */ }Implementations§
Source§impl BoardRef
impl BoardRef
pub async fn id(&self) -> BoardId
pub async fn title(&self) -> String
pub async fn columns(&self) -> Vec<Column>
pub async fn tasks(&self) -> Vec<Task>
pub async fn get_task(&self, id: &TaskId) -> Option<Task>
pub async fn create_task( &self, options: TaskCreateOptions, ) -> Result<Task, Error>
pub async fn move_task( &self, task_id: &TaskId, to_column: &str, ) -> Result<(), Error>
pub async fn delete_task(&self, task_id: &TaskId) -> Result<(), Error>
pub fn query(&self) -> QueryBuilder
pub async fn refresh(&self) -> Result<(), Error>
pub async fn save(&self) -> Result<(), Error>
pub async fn add_column(&self, name: &str) -> Result<(), Error>
pub fn on_change(&self) -> EventReceiver
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BoardRef
impl !RefUnwindSafe for BoardRef
impl Send for BoardRef
impl Sync for BoardRef
impl Unpin for BoardRef
impl UnsafeUnpin for BoardRef
impl !UnwindSafe for BoardRef
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