pub struct RoleRevokePermissionOptions { /* private fields */ }
Expand description
Options for grant role permission operation.
Implementations§
source§impl RoleRevokePermissionOptions
impl RoleRevokePermissionOptions
sourcepub const fn new() -> RoleRevokePermissionOptions
pub const fn new() -> RoleRevokePermissionOptions
Create a new RoleRevokePermissionOption
from pb role revoke permission.
sourcepub fn with_range_end(
self,
range_end: impl Into<Vec<u8>>
) -> RoleRevokePermissionOptions
pub fn with_range_end( self, range_end: impl Into<Vec<u8>> ) -> RoleRevokePermissionOptions
Specifies the range end.
end_key
must be lexicographically greater than start key.
sourcepub fn with_prefix(self) -> RoleRevokePermissionOptions
pub fn with_prefix(self) -> RoleRevokePermissionOptions
Sets all keys prefixed with key.
sourcepub fn with_from_key(self) -> RoleRevokePermissionOptions
pub fn with_from_key(self) -> RoleRevokePermissionOptions
Sets all keys >= key.
sourcepub fn with_all_keys(self) -> RoleRevokePermissionOptions
pub fn with_all_keys(self) -> RoleRevokePermissionOptions
Sets all keys.
Trait Implementations§
source§impl Clone for RoleRevokePermissionOptions
impl Clone for RoleRevokePermissionOptions
source§fn clone(&self) -> RoleRevokePermissionOptions
fn clone(&self) -> RoleRevokePermissionOptions
Returns a copy 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 RoleRevokePermissionOptions
impl Debug for RoleRevokePermissionOptions
source§impl Default for RoleRevokePermissionOptions
impl Default for RoleRevokePermissionOptions
source§fn default() -> RoleRevokePermissionOptions
fn default() -> RoleRevokePermissionOptions
Returns the “default value” for a type. Read more
source§impl IntoRequest<AuthRoleRevokePermissionRequest> for RoleRevokePermissionOptions
impl IntoRequest<AuthRoleRevokePermissionRequest> for RoleRevokePermissionOptions
source§fn into_request(self) -> Request<AuthRoleRevokePermissionRequest>
fn into_request(self) -> Request<AuthRoleRevokePermissionRequest>
Wrap the input message
T
in a tonic::Request
Auto Trait Implementations§
impl RefUnwindSafe for RoleRevokePermissionOptions
impl Send for RoleRevokePermissionOptions
impl Sync for RoleRevokePermissionOptions
impl Unpin for RoleRevokePermissionOptions
impl UnwindSafe for RoleRevokePermissionOptions
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> 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> 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