Struct hive_metastore::Database
source · pub struct Database {
pub name: Option<FastStr>,
pub description: Option<FastStr>,
pub location_uri: Option<FastStr>,
pub parameters: Option<AHashMap<FastStr, FastStr>>,
pub privileges: Option<PrincipalPrivilegeSet>,
pub owner_name: Option<FastStr>,
pub owner_type: Option<PrincipalType>,
pub catalog_name: Option<FastStr>,
}
Fields§
§name: Option<FastStr>
§description: Option<FastStr>
§location_uri: Option<FastStr>
§parameters: Option<AHashMap<FastStr, FastStr>>
§privileges: Option<PrincipalPrivilegeSet>
§owner_name: Option<FastStr>
§owner_type: Option<PrincipalType>
§catalog_name: Option<FastStr>
Trait Implementations§
source§impl Message for Database
impl Message for Database
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 Database
impl PartialEq for Database
impl StructuralPartialEq for Database
Auto Trait Implementations§
impl !Freeze for Database
impl RefUnwindSafe for Database
impl Send for Database
impl Sync for Database
impl Unpin for Database
impl UnwindSafe for Database
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