pub struct ValkeyLeaseConfig {
pub ttl: Duration,
pub renew_interval: Duration,
}Fields§
§ttl: Duration§renew_interval: DurationTrait Implementations§
Source§impl Clone for ValkeyLeaseConfig
impl Clone for ValkeyLeaseConfig
Source§fn clone(&self) -> ValkeyLeaseConfig
fn clone(&self) -> ValkeyLeaseConfig
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 ValkeyLeaseConfig
impl Debug for ValkeyLeaseConfig
Source§impl PartialEq for ValkeyLeaseConfig
impl PartialEq for ValkeyLeaseConfig
impl Copy for ValkeyLeaseConfig
impl Eq for ValkeyLeaseConfig
impl StructuralPartialEq for ValkeyLeaseConfig
Auto Trait Implementations§
impl Freeze for ValkeyLeaseConfig
impl RefUnwindSafe for ValkeyLeaseConfig
impl Send for ValkeyLeaseConfig
impl Sync for ValkeyLeaseConfig
impl Unpin for ValkeyLeaseConfig
impl UnsafeUnpin for ValkeyLeaseConfig
impl UnwindSafe for ValkeyLeaseConfig
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