pub struct RefreshRequest {
pub nodes: Option<Vec<u32>>,
pub cluster: Option<u32>,
pub stale_threshold: Option<f64>,
}Expand description
Parameters for a refresh operation.
Fields§
§nodes: Option<Vec<u32>>Specific node indices to refresh.
cluster: Option<u32>Refresh all nodes in a cluster.
stale_threshold: Option<f64>Refresh nodes older than this many seconds.
Trait Implementations§
Source§impl Clone for RefreshRequest
impl Clone for RefreshRequest
Source§fn clone(&self) -> RefreshRequest
fn clone(&self) -> RefreshRequest
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 moreAuto Trait Implementations§
impl Freeze for RefreshRequest
impl RefUnwindSafe for RefreshRequest
impl Send for RefreshRequest
impl Sync for RefreshRequest
impl Unpin for RefreshRequest
impl UnsafeUnpin for RefreshRequest
impl UnwindSafe for RefreshRequest
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