pub struct OptionsConfig { /* private fields */ }Expand description
Optional file paths for hosts, groups, and defaults inventory sources.
Implementations§
Source§impl OptionsConfig
impl OptionsConfig
pub fn builder() -> OptionsConfigBuilder
pub fn hosts_file(&self) -> Option<&str>
pub fn groups_file(&self) -> Option<&str>
pub fn defaults_file(&self) -> Option<&str>
Trait Implementations§
Source§impl Clone for OptionsConfig
impl Clone for OptionsConfig
Source§fn clone(&self) -> OptionsConfig
fn clone(&self) -> OptionsConfig
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 OptionsConfig
impl Debug for OptionsConfig
Source§impl Default for OptionsConfig
impl Default for OptionsConfig
Source§fn default() -> OptionsConfig
fn default() -> OptionsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OptionsConfig
impl<'de> Deserialize<'de> for OptionsConfig
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 OptionsConfig
impl RefUnwindSafe for OptionsConfig
impl Send for OptionsConfig
impl Sync for OptionsConfig
impl Unpin for OptionsConfig
impl UnsafeUnpin for OptionsConfig
impl UnwindSafe for OptionsConfig
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