pub struct UidConfig {
pub port: String,
pub time_bits: i32,
pub worker_bits: i32,
pub seq_bits: i32,
pub epoch_seconds: i64,
pub max_backward_seconds: i64,
pub enable_backward: bool,
}Fields§
§port: String§time_bits: i32§worker_bits: i32§seq_bits: i32§epoch_seconds: i64§max_backward_seconds: i64§enable_backward: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UidConfig
impl RefUnwindSafe for UidConfig
impl Send for UidConfig
impl Sync for UidConfig
impl Unpin for UidConfig
impl UnwindSafe for UidConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more