pub struct HostDataBuilder { /* private fields */ }
Expand description
Builder for HostData
.
Implementations§
Source§impl HostDataBuilder
impl HostDataBuilder
pub fn os(&mut self, value: String) -> &mut Self
pub fn network(&mut self, value: Vec<HashMap<String, String>>) -> &mut Self
pub fn resolv_conf(&mut self, value: String) -> &mut Self
pub fn hosts(&mut self, value: String) -> &mut Self
pub fn environment(&mut self, value: HashMap<String, String>) -> &mut Self
pub fn disk(&mut self, value: HashMap<String, DiskUsage>) -> &mut Self
Trait Implementations§
Source§impl Clone for HostDataBuilder
impl Clone for HostDataBuilder
Source§fn clone(&self) -> HostDataBuilder
fn clone(&self) -> HostDataBuilder
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 HostDataBuilder
impl RefUnwindSafe for HostDataBuilder
impl Send for HostDataBuilder
impl Sync for HostDataBuilder
impl Unpin for HostDataBuilder
impl UnwindSafe for HostDataBuilder
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