pub struct DatabaseEventResult {
pub status: SaveEventStatus,
pub to_discard: HashSet<EventId>,
}
Expand description
Database Event Result
Fields§
§status: SaveEventStatus
Status
to_discard: HashSet<EventId>
List of events that should be removed from database
Trait Implementations§
Source§impl Clone for DatabaseEventResult
impl Clone for DatabaseEventResult
Source§fn clone(&self) -> DatabaseEventResult
fn clone(&self) -> DatabaseEventResult
Returns a duplicate 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 DatabaseEventResult
impl Debug for DatabaseEventResult
Source§impl PartialEq for DatabaseEventResult
impl PartialEq for DatabaseEventResult
impl Eq for DatabaseEventResult
impl StructuralPartialEq for DatabaseEventResult
Auto Trait Implementations§
impl Freeze for DatabaseEventResult
impl RefUnwindSafe for DatabaseEventResult
impl Send for DatabaseEventResult
impl Sync for DatabaseEventResult
impl Unpin for DatabaseEventResult
impl UnwindSafe for DatabaseEventResult
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