pub struct GenerationLogEntry {
pub timestamp: DateTime<Utc>,
pub machine_id: String,
pub count: u64,
pub counter_start: u64,
pub counter_end: u64,
}Expand description
Record of a code generation event.
Fields§
§timestamp: DateTime<Utc>When the generation occurred
machine_id: StringMachine ID (hex) that generated codes
count: u64Number of codes generated
counter_start: u64Starting counter value
counter_end: u64Ending counter value (exclusive)
Trait Implementations§
Source§impl Clone for GenerationLogEntry
impl Clone for GenerationLogEntry
Source§fn clone(&self) -> GenerationLogEntry
fn clone(&self) -> GenerationLogEntry
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 GenerationLogEntry
impl Debug for GenerationLogEntry
Source§impl<'de> Deserialize<'de> for GenerationLogEntry
impl<'de> Deserialize<'de> for GenerationLogEntry
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 GenerationLogEntry
impl RefUnwindSafe for GenerationLogEntry
impl Send for GenerationLogEntry
impl Sync for GenerationLogEntry
impl Unpin for GenerationLogEntry
impl UnwindSafe for GenerationLogEntry
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