pub struct RegistrySearch<'a> { /* private fields */ }Expand description
Fluent search builder bound to a RegistryClient. See
RegistryClient::search_builder.
Implementations§
Source§impl<'a> RegistrySearch<'a>
impl<'a> RegistrySearch<'a>
Sourcepub async fn send(self) -> Result<SearchResponse, AcdpError>
pub async fn send(self) -> Result<SearchResponse, AcdpError>
Issue the search.
Sourcepub fn context_type(self, t: impl Into<String>) -> Self
pub fn context_type(self, t: impl Into<String>) -> Self
Filter on type.
Sourcepub fn derived_from(self, c: &CtxId) -> Self
pub fn derived_from(self, c: &CtxId) -> Self
Filter on derived_from (strongly typed).
Sourcepub fn created_after(self, dt: DateTime<Utc>) -> Self
pub fn created_after(self, dt: DateTime<Utc>) -> Self
Lower bound on created_at.
Sourcepub fn created_before(self, dt: DateTime<Utc>) -> Self
pub fn created_before(self, dt: DateTime<Utc>) -> Self
Upper bound on created_at.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for RegistrySearch<'a>
impl<'a> !UnwindSafe for RegistrySearch<'a>
impl<'a> Freeze for RegistrySearch<'a>
impl<'a> Send for RegistrySearch<'a>
impl<'a> Sync for RegistrySearch<'a>
impl<'a> Unpin for RegistrySearch<'a>
impl<'a> UnsafeUnpin for RegistrySearch<'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