pub struct ElasticSearchParameterResolver<Repo: Repository + Send + Sync> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<Repo: Clone + Repository + Send + Sync> Clone for ElasticSearchParameterResolver<Repo>
impl<Repo: Clone + Repository + Send + Sync> Clone for ElasticSearchParameterResolver<Repo>
Source§fn clone(&self) -> ElasticSearchParameterResolver<Repo>
fn clone(&self) -> ElasticSearchParameterResolver<Repo>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<Repo: Repository + Send + Sync> SearchParameterResolve for ElasticSearchParameterResolver<Repo>
impl<Repo: Repository + Send + Sync> SearchParameterResolve for ElasticSearchParameterResolver<Repo>
async fn by_resource_type( &self, tenant: &TenantId, project: &ProjectId, resource_type: &ResourceType, ) -> Result<Vec<ResolvedParameter>, OperationOutcomeError>
async fn by_name( &self, tenant: &TenantId, project: &ProjectId, resource_type: Option<&ResourceType>, code: &str, ) -> Result<Option<ResolvedParameter>, OperationOutcomeError>
async fn all( &self, tenant: &TenantId, project: &ProjectId, ) -> Result<Vec<ResolvedParameter>, OperationOutcomeError>
Auto Trait Implementations§
impl<Repo> Freeze for ElasticSearchParameterResolver<Repo>
impl<Repo> !RefUnwindSafe for ElasticSearchParameterResolver<Repo>
impl<Repo> Send for ElasticSearchParameterResolver<Repo>
impl<Repo> Sync for ElasticSearchParameterResolver<Repo>
impl<Repo> Unpin for ElasticSearchParameterResolver<Repo>
impl<Repo> UnsafeUnpin for ElasticSearchParameterResolver<Repo>
impl<Repo> !UnwindSafe for ElasticSearchParameterResolver<Repo>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more