Struct logid::evident::event::finalized::FinalizedEvent
pub struct FinalizedEvent<K>where
K: Id,{
pub event_id: K,
pub entry_id: Uuid,
}
Fields§
§event_id: K
§entry_id: Uuid
Implementations§
§impl<K> FinalizedEvent<K>where
K: Id,
impl<K> FinalizedEvent<K>where K: Id,
pub fn new(event_id: K, entry_id: Uuid) -> FinalizedEvent<K>
pub fn into_event_id(self) -> K
pub fn get_event_id(&self) -> &K
pub fn get_entry_id(&self) -> &Uuid
Trait Implementations§
§impl<K> Clone for FinalizedEvent<K>where
K: Clone + Id,
impl<K> Clone for FinalizedEvent<K>where K: Clone + Id,
§fn clone(&self) -> FinalizedEvent<K>
fn clone(&self) -> FinalizedEvent<K>
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 more§impl<K> Debug for FinalizedEvent<K>where
K: Debug + Id,
impl<K> Debug for FinalizedEvent<K>where K: Debug + Id,
§impl<K> Default for FinalizedEvent<K>where
K: Default + Id,
impl<K> Default for FinalizedEvent<K>where K: Default + Id,
§fn default() -> FinalizedEvent<K>
fn default() -> FinalizedEvent<K>
Returns the “default value” for a type. Read more
§impl<K> Display for FinalizedEvent<K>where
K: Id + Display,
impl<K> Display for FinalizedEvent<K>where K: Id + Display,
§impl<K> PartialEq<FinalizedEvent<K>> for FinalizedEvent<K>where
K: PartialEq<K> + Id,
impl<K> PartialEq<FinalizedEvent<K>> for FinalizedEvent<K>where K: PartialEq<K> + Id,
§fn eq(&self, other: &FinalizedEvent<K>) -> bool
fn eq(&self, other: &FinalizedEvent<K>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<K> Eq for FinalizedEvent<K>where K: Eq + Id,
impl<K> StructuralEq for FinalizedEvent<K>where K: Id,
impl<K> StructuralPartialEq for FinalizedEvent<K>where K: Id,
Auto Trait Implementations§
impl<K> RefUnwindSafe for FinalizedEvent<K>where K: RefUnwindSafe,
impl<K> Send for FinalizedEvent<K>
impl<K> Sync for FinalizedEvent<K>
impl<K> Unpin for FinalizedEvent<K>where K: Unpin,
impl<K> UnwindSafe for FinalizedEvent<K>where K: UnwindSafe,
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