pub struct ConfigQueryParam {
pub tenant: Option<Arc<String>>,
pub group: Option<Arc<String>>,
pub data_id: Option<Arc<String>>,
pub like_group: Option<String>,
pub like_data_id: Option<String>,
pub namespace_privilege: NamespacePrivilegeGroup,
pub query_context: bool,
pub offset: usize,
pub limit: usize,
}Fields§
§tenant: Option<Arc<String>>§group: Option<Arc<String>>§data_id: Option<Arc<String>>§like_group: Option<String>§like_data_id: Option<String>§namespace_privilege: NamespacePrivilegeGroup§query_context: bool§offset: usize§limit: usizeImplementations§
Source§impl ConfigQueryParam
impl ConfigQueryParam
pub fn match_group(&self, g: &Arc<String>) -> bool
pub fn match_data_id(&self, s: &Arc<String>) -> bool
Trait Implementations§
Source§impl Clone for ConfigQueryParam
impl Clone for ConfigQueryParam
Source§fn clone(&self) -> ConfigQueryParam
fn clone(&self) -> ConfigQueryParam
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 Debug for ConfigQueryParam
impl Debug for ConfigQueryParam
Source§impl Default for ConfigQueryParam
impl Default for ConfigQueryParam
Source§fn default() -> ConfigQueryParam
fn default() -> ConfigQueryParam
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConfigQueryParam
impl RefUnwindSafe for ConfigQueryParam
impl Send for ConfigQueryParam
impl Sync for ConfigQueryParam
impl Unpin for ConfigQueryParam
impl UnwindSafe for ConfigQueryParam
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request