pub struct CoordinatedLeaseConfig {
pub ttl: Duration,
pub renew_interval: Duration,
}Fields§
§ttl: Duration§renew_interval: DurationImplementations§
Trait Implementations§
Source§impl Clone for CoordinatedLeaseConfig
impl Clone for CoordinatedLeaseConfig
Source§fn clone(&self) -> CoordinatedLeaseConfig
fn clone(&self) -> CoordinatedLeaseConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CoordinatedLeaseConfig
impl Debug for CoordinatedLeaseConfig
Source§impl PartialEq for CoordinatedLeaseConfig
impl PartialEq for CoordinatedLeaseConfig
Source§fn eq(&self, other: &CoordinatedLeaseConfig) -> bool
fn eq(&self, other: &CoordinatedLeaseConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CoordinatedLeaseConfig
impl Eq for CoordinatedLeaseConfig
impl StructuralPartialEq for CoordinatedLeaseConfig
Auto Trait Implementations§
impl Freeze for CoordinatedLeaseConfig
impl RefUnwindSafe for CoordinatedLeaseConfig
impl Send for CoordinatedLeaseConfig
impl Sync for CoordinatedLeaseConfig
impl Unpin for CoordinatedLeaseConfig
impl UnsafeUnpin for CoordinatedLeaseConfig
impl UnwindSafe for CoordinatedLeaseConfig
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