Struct hive_metastore::GrantRevokeRoleRequest
source · pub struct GrantRevokeRoleRequest {
pub request_type: Option<GrantRevokeType>,
pub role_name: Option<FastStr>,
pub principal_name: Option<FastStr>,
pub principal_type: Option<PrincipalType>,
pub grantor: Option<FastStr>,
pub grantor_type: Option<PrincipalType>,
pub grant_option: Option<bool>,
}
Fields§
§request_type: Option<GrantRevokeType>
§role_name: Option<FastStr>
§principal_name: Option<FastStr>
§principal_type: Option<PrincipalType>
§grantor: Option<FastStr>
§grantor_type: Option<PrincipalType>
§grant_option: Option<bool>
Trait Implementations§
source§impl Clone for GrantRevokeRoleRequest
impl Clone for GrantRevokeRoleRequest
source§fn clone(&self) -> GrantRevokeRoleRequest
fn clone(&self) -> GrantRevokeRoleRequest
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 GrantRevokeRoleRequest
impl Debug for GrantRevokeRoleRequest
source§impl Default for GrantRevokeRoleRequest
impl Default for GrantRevokeRoleRequest
source§fn default() -> GrantRevokeRoleRequest
fn default() -> GrantRevokeRoleRequest
Returns the “default value” for a type. Read more
source§impl Hash for GrantRevokeRoleRequest
impl Hash for GrantRevokeRoleRequest
source§impl Message for GrantRevokeRoleRequest
impl Message for GrantRevokeRoleRequest
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 GrantRevokeRoleRequest
impl Ord for GrantRevokeRoleRequest
source§fn cmp(&self, other: &GrantRevokeRoleRequest) -> Ordering
fn cmp(&self, other: &GrantRevokeRoleRequest) -> 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 GrantRevokeRoleRequest
impl PartialEq for GrantRevokeRoleRequest
source§fn eq(&self, other: &GrantRevokeRoleRequest) -> bool
fn eq(&self, other: &GrantRevokeRoleRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GrantRevokeRoleRequest
impl PartialOrd for GrantRevokeRoleRequest
source§fn partial_cmp(&self, other: &GrantRevokeRoleRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &GrantRevokeRoleRequest) -> 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 GrantRevokeRoleRequest
impl StructuralPartialEq for GrantRevokeRoleRequest
Auto Trait Implementations§
impl !Freeze for GrantRevokeRoleRequest
impl RefUnwindSafe for GrantRevokeRoleRequest
impl Send for GrantRevokeRoleRequest
impl Sync for GrantRevokeRoleRequest
impl Unpin for GrantRevokeRoleRequest
impl UnwindSafe for GrantRevokeRoleRequest
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