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