pub struct GrantRevokePrivilegeRequest {
pub request_type: Option<GrantRevokeType>,
pub privileges: Option<PrivilegeBag>,
pub revoke_grant_option: Option<bool>,
}
Fields§
§request_type: Option<GrantRevokeType>
§privileges: Option<PrivilegeBag>
§revoke_grant_option: Option<bool>
Trait Implementations§
source§impl Clone for GrantRevokePrivilegeRequest
impl Clone for GrantRevokePrivilegeRequest
source§fn clone(&self) -> GrantRevokePrivilegeRequest
fn clone(&self) -> GrantRevokePrivilegeRequest
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 GrantRevokePrivilegeRequest
impl Debug for GrantRevokePrivilegeRequest
source§impl Default for GrantRevokePrivilegeRequest
impl Default for GrantRevokePrivilegeRequest
source§fn default() -> GrantRevokePrivilegeRequest
fn default() -> GrantRevokePrivilegeRequest
Returns the “default value” for a type. Read more
source§impl Hash for GrantRevokePrivilegeRequest
impl Hash for GrantRevokePrivilegeRequest
source§impl Message for GrantRevokePrivilegeRequest
impl Message for GrantRevokePrivilegeRequest
fn encode<T: TOutputProtocol>( &self, protocol: &mut T, ) -> Result<(), ThriftException>
fn decode<T: TInputProtocol>(protocol: &mut T) -> Result<Self, ThriftException>
fn decode_async<'a, T: TAsyncInputProtocol>( protocol: &'a mut T, ) -> Pin<Box<dyn Future<Output = Result<Self, ThriftException>> + Send + 'a>>
fn size<T: TLengthProtocol>(&self, protocol: &mut T) -> usize
source§impl Ord for GrantRevokePrivilegeRequest
impl Ord for GrantRevokePrivilegeRequest
source§fn cmp(&self, other: &GrantRevokePrivilegeRequest) -> Ordering
fn cmp(&self, other: &GrantRevokePrivilegeRequest) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for GrantRevokePrivilegeRequest
impl PartialEq for GrantRevokePrivilegeRequest
source§fn eq(&self, other: &GrantRevokePrivilegeRequest) -> bool
fn eq(&self, other: &GrantRevokePrivilegeRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GrantRevokePrivilegeRequest
impl PartialOrd for GrantRevokePrivilegeRequest
source§fn partial_cmp(&self, other: &GrantRevokePrivilegeRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &GrantRevokePrivilegeRequest) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for GrantRevokePrivilegeRequest
impl StructuralPartialEq for GrantRevokePrivilegeRequest
Auto Trait Implementations§
impl Freeze for GrantRevokePrivilegeRequest
impl RefUnwindSafe for GrantRevokePrivilegeRequest
impl Send for GrantRevokePrivilegeRequest
impl Sync for GrantRevokePrivilegeRequest
impl Unpin for GrantRevokePrivilegeRequest
impl UnwindSafe for GrantRevokePrivilegeRequest
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