pub struct LeaseHeartbeat {
pub token: LeaseToken,
pub now_ms: u64,
}Expand description
Lease heartbeat request.
Fields§
§token: LeaseTokenToken being renewed.
now_ms: u64Caller timestamp in milliseconds.
Trait Implementations§
Source§impl Clone for LeaseHeartbeat
impl Clone for LeaseHeartbeat
Source§fn clone(&self) -> LeaseHeartbeat
fn clone(&self) -> LeaseHeartbeat
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 LeaseHeartbeat
impl Debug for LeaseHeartbeat
impl Eq for LeaseHeartbeat
Source§impl PartialEq for LeaseHeartbeat
impl PartialEq for LeaseHeartbeat
impl StructuralPartialEq for LeaseHeartbeat
Auto Trait Implementations§
impl Freeze for LeaseHeartbeat
impl RefUnwindSafe for LeaseHeartbeat
impl Send for LeaseHeartbeat
impl Sync for LeaseHeartbeat
impl Unpin for LeaseHeartbeat
impl UnsafeUnpin for LeaseHeartbeat
impl UnwindSafe for LeaseHeartbeat
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