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