pub struct DcbQuery {
pub items: Vec<DcbQueryItem>,
}Expand description
A query composed of multiple query items
Fields§
§items: Vec<DcbQueryItem>List of query items, where events matching any item are included in results
Implementations§
Source§impl DcbQuery
impl DcbQuery
Sourcepub fn with_items<I>(items: I) -> Selfwhere
I: IntoIterator<Item = DcbQueryItem>,
pub fn with_items<I>(items: I) -> Selfwhere
I: IntoIterator<Item = DcbQueryItem>,
Creates a query with the specified items
Sourcepub fn item(self, item: DcbQueryItem) -> Self
pub fn item(self, item: DcbQueryItem) -> Self
Adds a query item to this query
Sourcepub fn items<I>(self, items: I) -> Selfwhere
I: IntoIterator<Item = DcbQueryItem>,
pub fn items<I>(self, items: I) -> Selfwhere
I: IntoIterator<Item = DcbQueryItem>,
Adds multiple query items to this query
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DcbQuery
impl RefUnwindSafe for DcbQuery
impl Send for DcbQuery
impl Sync for DcbQuery
impl Unpin for DcbQuery
impl UnsafeUnpin for DcbQuery
impl UnwindSafe for DcbQuery
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