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