pub struct WatchRequest {
pub domain: String,
pub nodes: Option<Vec<u32>>,
pub cluster: Option<u32>,
pub features: Option<Vec<usize>>,
pub interval_ms: u64,
}Expand description
Parameters for a watch operation.
Fields§
§domain: StringDomain to watch.
nodes: Option<Vec<u32>>Specific nodes to watch.
cluster: Option<u32>Watch all nodes in a cluster.
features: Option<Vec<usize>>Which feature dimensions to monitor.
interval_ms: u64Polling interval in milliseconds.
Trait Implementations§
Source§impl Clone for WatchRequest
impl Clone for WatchRequest
Source§fn clone(&self) -> WatchRequest
fn clone(&self) -> WatchRequest
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 WatchRequest
impl RefUnwindSafe for WatchRequest
impl Send for WatchRequest
impl Sync for WatchRequest
impl Unpin for WatchRequest
impl UnsafeUnpin for WatchRequest
impl UnwindSafe for WatchRequest
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