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