pub struct CodeIndexTaskLeaseRenewal {
pub task_id: String,
pub lease_owner: String,
pub attempt_count: u32,
pub lease_duration_ms: u64,
pub now_ms: u64,
}Expand description
Lease renewal request for an actively running code index task.
Fields§
§task_id: String§lease_owner: String§attempt_count: u32§lease_duration_ms: u64§now_ms: u64Trait Implementations§
Source§impl Clone for CodeIndexTaskLeaseRenewal
impl Clone for CodeIndexTaskLeaseRenewal
Source§fn clone(&self) -> CodeIndexTaskLeaseRenewal
fn clone(&self) -> CodeIndexTaskLeaseRenewal
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 CodeIndexTaskLeaseRenewal
impl Debug for CodeIndexTaskLeaseRenewal
Source§impl PartialEq for CodeIndexTaskLeaseRenewal
impl PartialEq for CodeIndexTaskLeaseRenewal
Source§fn eq(&self, other: &CodeIndexTaskLeaseRenewal) -> bool
fn eq(&self, other: &CodeIndexTaskLeaseRenewal) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CodeIndexTaskLeaseRenewal
impl StructuralPartialEq for CodeIndexTaskLeaseRenewal
Auto Trait Implementations§
impl Freeze for CodeIndexTaskLeaseRenewal
impl RefUnwindSafe for CodeIndexTaskLeaseRenewal
impl Send for CodeIndexTaskLeaseRenewal
impl Sync for CodeIndexTaskLeaseRenewal
impl Unpin for CodeIndexTaskLeaseRenewal
impl UnsafeUnpin for CodeIndexTaskLeaseRenewal
impl UnwindSafe for CodeIndexTaskLeaseRenewal
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