pub struct TempoIdOptions {
pub time_length: usize,
pub random_length: usize,
pub time: Option<u64>,
pub start_time: Option<u64>,
pub pad_left: bool,
pub alphabet: &'static str,
}Fields§
§time_length: usize§random_length: usize§time: Option<u64>§start_time: Option<u64>§pad_left: bool§alphabet: &'static strTrait Implementations§
Source§impl Clone for TempoIdOptions
impl Clone for TempoIdOptions
Source§fn clone(&self) -> TempoIdOptions
fn clone(&self) -> TempoIdOptions
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TempoIdOptions
impl RefUnwindSafe for TempoIdOptions
impl Send for TempoIdOptions
impl Sync for TempoIdOptions
impl Unpin for TempoIdOptions
impl UnwindSafe for TempoIdOptions
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)