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