pub struct TagSearch<'a> { /* private fields */ }Implementations§
Source§impl<'a> TagSearch<'a>
impl<'a> TagSearch<'a>
pub fn and_tag(self, tag: &str) -> Self
pub fn exclude_tag(self, tag: &str) -> Self
pub fn from_date(self, from: &str) -> Self
pub fn to_date(self, to: &str) -> Self
pub fn published_only(self) -> Self
pub fn limit(self, limit: u32) -> Self
pub async fn events(self) -> Result<Vec<Event>, MispError>
pub async fn attributes(self) -> Result<Vec<Attribute>, MispError>
Auto Trait Implementations§
impl<'a> Freeze for TagSearch<'a>
impl<'a> !RefUnwindSafe for TagSearch<'a>
impl<'a> Send for TagSearch<'a>
impl<'a> Sync for TagSearch<'a>
impl<'a> Unpin for TagSearch<'a>
impl<'a> !UnwindSafe for TagSearch<'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