pub struct HostStatusRecord {
pub status: HostStatusEvent,
pub class: HostStatusClass,
pub last_transaction_id: Option<TransactionId>,
pub last_command_revision: Option<Revision>,
}Expand description
Recorded classification for a host status event.
Fields§
§status: HostStatusEventStatus supplied by the fake host.
class: HostStatusClassDeterministic classification assigned by the ledger.
last_transaction_id: Option<TransactionId>Last command transaction known for this resource key, if any.
last_command_revision: Option<Revision>Last command revision known for this resource key, if any.
Trait Implementations§
Source§impl Clone for HostStatusRecord
impl Clone for HostStatusRecord
Source§fn clone(&self) -> HostStatusRecord
fn clone(&self) -> HostStatusRecord
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 HostStatusRecord
impl Debug for HostStatusRecord
impl Eq for HostStatusRecord
Source§impl PartialEq for HostStatusRecord
impl PartialEq for HostStatusRecord
Source§fn eq(&self, other: &HostStatusRecord) -> bool
fn eq(&self, other: &HostStatusRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HostStatusRecord
Auto Trait Implementations§
impl Freeze for HostStatusRecord
impl RefUnwindSafe for HostStatusRecord
impl Send for HostStatusRecord
impl Sync for HostStatusRecord
impl Unpin for HostStatusRecord
impl UnsafeUnpin for HostStatusRecord
impl UnwindSafe for HostStatusRecord
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