pub struct JournalLog {
    pub op_id: u64,
    pub ts: i64,
    pub op: JournalOp,
    pub o: OrderOptions,
}Expand description
Represents a journal entry for an operation performed on the order book.
This struct is used to log operations such as order placements, cancellations, and modifications, allowing for features like replay, auditing, or persistence.
§Fields
- op_id: Unique operation ID, useful for ordering or deduplication.
- ts: Timestamp of when the operation was recorded (in milliseconds since epoch).
- op: The type of operation performed (e.g., market, limit, cancel).
- o: The payload or input associated with the operation.
Fields§
§op_id: u64§ts: i64§op: JournalOp§o: OrderOptionsTrait Implementations§
Source§impl Clone for JournalLog
 
impl Clone for JournalLog
Source§fn clone(&self) -> JournalLog
 
fn clone(&self) -> JournalLog
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 JournalLog
 
impl Debug for JournalLog
Source§impl PartialEq for JournalLog
 
impl PartialEq for JournalLog
impl Copy for JournalLog
impl Eq for JournalLog
impl StructuralPartialEq for JournalLog
Auto Trait Implementations§
impl Freeze for JournalLog
impl RefUnwindSafe for JournalLog
impl Send for JournalLog
impl Sync for JournalLog
impl Unpin for JournalLog
impl UnwindSafe for JournalLog
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