pub struct HostListParams {
pub num_hosts: u64,
pub path: Option<String>,
pub timeout_seconds: u64,
pub wait: bool,
pub silent: Option<bool>,
}Expand description
Parameters describing how to get information about hosts previously created.
Fields§
§num_hosts: u64If wait is set, the number of hosts to wait to be running before returning.
path: Option<String>Path of file to write host info to.
timeout_seconds: u64Time to wait for num_hosts to be running.
wait: boolIf true, wait for num_hosts to be running.
silent: Option<bool>If true, do not log host info to the task logs.
Trait Implementations§
Source§impl Clone for HostListParams
impl Clone for HostListParams
Source§fn clone(&self) -> HostListParams
fn clone(&self) -> HostListParams
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 HostListParams
impl Debug for HostListParams
Source§impl<'de> Deserialize<'de> for HostListParams
impl<'de> Deserialize<'de> for HostListParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HostListParams
impl RefUnwindSafe for HostListParams
impl Send for HostListParams
impl Sync for HostListParams
impl Unpin for HostListParams
impl UnwindSafe for HostListParams
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