pub struct TransactionTimeSchemaConfig {
pub avg_recording_delay_seconds: u32,
pub allow_backdating: bool,
pub backdating_probability: f64,
pub max_backdate_days: u32,
}Expand description
Configuration for transaction time (system time) generation.
Fields§
§avg_recording_delay_seconds: u32Average recording delay in seconds (0 = immediate).
allow_backdating: boolAllow backdating (recording time before valid time).
backdating_probability: f64Probability of backdating if allowed.
max_backdate_days: u32Maximum backdate days.
Trait Implementations§
Source§impl Clone for TransactionTimeSchemaConfig
impl Clone for TransactionTimeSchemaConfig
Source§fn clone(&self) -> TransactionTimeSchemaConfig
fn clone(&self) -> TransactionTimeSchemaConfig
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 TransactionTimeSchemaConfig
impl Debug for TransactionTimeSchemaConfig
Source§impl<'de> Deserialize<'de> for TransactionTimeSchemaConfig
impl<'de> Deserialize<'de> for TransactionTimeSchemaConfig
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 TransactionTimeSchemaConfig
impl RefUnwindSafe for TransactionTimeSchemaConfig
impl Send for TransactionTimeSchemaConfig
impl Sync for TransactionTimeSchemaConfig
impl Unpin for TransactionTimeSchemaConfig
impl UnwindSafe for TransactionTimeSchemaConfig
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