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