pub struct QueryBuilder { /* private fields */ }Implementations§
Source§impl QueryBuilder
impl QueryBuilder
pub fn new() -> Self
pub fn with_board(self, board: Board) -> Self
pub fn status(self, status: Status) -> Self
pub fn status_in(self, statuses: impl IntoIterator<Item = Status>) -> Self
pub fn tag(self, tag: impl Into<String>) -> Self
pub fn assignee(self, assignee: impl Into<String>) -> Self
pub fn column(self, column: impl Into<String>) -> Self
pub fn due_before(self, date: DateTime<Utc>) -> Self
pub fn due_after(self, date: DateTime<Utc>) -> Self
pub fn depends_on(self, task_id: TaskId) -> Self
pub fn depends_on_existing(self, exists: bool) -> Self
pub fn metadata(self, key: &str, value: impl Into<Value>) -> Self
pub fn order_by(self, order: OrderBy) -> Self
pub fn limit(self, limit: usize) -> Self
pub fn offset(self, offset: usize) -> Self
pub fn build(self) -> Query
pub async fn execute(self) -> Result<Vec<Task>, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QueryBuilder
impl RefUnwindSafe for QueryBuilder
impl Send for QueryBuilder
impl Sync for QueryBuilder
impl Unpin for QueryBuilder
impl UnsafeUnpin for QueryBuilder
impl UnwindSafe for QueryBuilder
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