Struct frostflake::GeneratorOptions
[−]
[src]
pub struct GeneratorOptions { /* fields omitted */ }
Methods
impl GeneratorOptions
[src]
fn default() -> GeneratorOptions
fn time_fn(self, time_fn: fn() -> u64) -> Self
fn bits(self, ts_bits: u8, node_bits: u8, seq_bits: u8) -> Self
fn node(self, node: u64) -> Self
fn base_ts(self, base_ts: u64) -> Self
Trait Implementations
impl Clone for GeneratorOptions
[src]
fn clone(&self) -> GeneratorOptions
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more