pub struct OperationEvent {
pub event_type: String,
pub timestamp: Option<String>,
pub incarnation: Option<String>,
}Expand description
One entry of an operation’s event log, as list_operation_events reports it.
A cluster with no operations archive has none of these. The command is registered and answers with an empty list, which is what a local cluster does; the archive is what actually keeps the events.
Fields§
§event_type: StringWhat happened, e.g. started_running or incarnation_started.
timestamp: Option<String>When, in the cluster’s ISO 8601 spelling.
incarnation: Option<String>The incarnation this event belongs to, for an operation that has been restarted by the controller agent.
Trait Implementations§
Source§impl Clone for OperationEvent
impl Clone for OperationEvent
Source§fn clone(&self) -> OperationEvent
fn clone(&self) -> OperationEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OperationEvent
impl Debug for OperationEvent
impl Eq for OperationEvent
Source§impl PartialEq for OperationEvent
impl PartialEq for OperationEvent
impl StructuralPartialEq for OperationEvent
Auto Trait Implementations§
impl Freeze for OperationEvent
impl RefUnwindSafe for OperationEvent
impl Send for OperationEvent
impl Sync for OperationEvent
impl Unpin for OperationEvent
impl UnsafeUnpin for OperationEvent
impl UnwindSafe for OperationEvent
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