pub struct OperationLogEntry {
pub entry_id: String,
pub operation: IndexUpdate,
pub result: Option<UpdateResult>,
pub pre_state_hash: String,
pub post_state_hash: Option<String>,
pub timestamp: DateTime<Utc>,
pub source: String,
pub rollback_info: RollbackOperationInfo,
}Expand description
Operation log entry
Fields§
§entry_id: StringEntry ID
operation: IndexUpdateOperation that was performed
result: Option<UpdateResult>Operation result
pre_state_hash: StringPre-operation state hash
post_state_hash: Option<String>Post-operation state hash
timestamp: DateTime<Utc>Operation timestamp
source: StringOperation source
rollback_info: RollbackOperationInfoRollback information for this operation
Trait Implementations§
Source§impl Clone for OperationLogEntry
impl Clone for OperationLogEntry
Source§fn clone(&self) -> OperationLogEntry
fn clone(&self) -> OperationLogEntry
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 OperationLogEntry
impl Debug for OperationLogEntry
Source§impl<'de> Deserialize<'de> for OperationLogEntry
impl<'de> Deserialize<'de> for OperationLogEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OperationLogEntry
impl RefUnwindSafe for OperationLogEntry
impl Send for OperationLogEntry
impl Sync for OperationLogEntry
impl Unpin for OperationLogEntry
impl UnwindSafe for OperationLogEntry
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