Struct hive_metastore::PrincipalPrivilegeSet
source · pub struct PrincipalPrivilegeSet {
pub user_privileges: Option<AHashMap<FastStr, Vec<PrivilegeGrantInfo>>>,
pub group_privileges: Option<AHashMap<FastStr, Vec<PrivilegeGrantInfo>>>,
pub role_privileges: Option<AHashMap<FastStr, Vec<PrivilegeGrantInfo>>>,
}
Fields§
§user_privileges: Option<AHashMap<FastStr, Vec<PrivilegeGrantInfo>>>
§group_privileges: Option<AHashMap<FastStr, Vec<PrivilegeGrantInfo>>>
§role_privileges: Option<AHashMap<FastStr, Vec<PrivilegeGrantInfo>>>
Trait Implementations§
source§impl Clone for PrincipalPrivilegeSet
impl Clone for PrincipalPrivilegeSet
source§fn clone(&self) -> PrincipalPrivilegeSet
fn clone(&self) -> PrincipalPrivilegeSet
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 PrincipalPrivilegeSet
impl Debug for PrincipalPrivilegeSet
source§impl Default for PrincipalPrivilegeSet
impl Default for PrincipalPrivilegeSet
source§fn default() -> PrincipalPrivilegeSet
fn default() -> PrincipalPrivilegeSet
Returns the “default value” for a type. Read more
source§impl Message for PrincipalPrivilegeSet
impl Message for PrincipalPrivilegeSet
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 PartialEq for PrincipalPrivilegeSet
impl PartialEq for PrincipalPrivilegeSet
source§fn eq(&self, other: &PrincipalPrivilegeSet) -> bool
fn eq(&self, other: &PrincipalPrivilegeSet) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PrincipalPrivilegeSet
Auto Trait Implementations§
impl Freeze for PrincipalPrivilegeSet
impl RefUnwindSafe for PrincipalPrivilegeSet
impl Send for PrincipalPrivilegeSet
impl Sync for PrincipalPrivilegeSet
impl Unpin for PrincipalPrivilegeSet
impl UnwindSafe for PrincipalPrivilegeSet
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