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