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