pub struct ConfigResult {
pub config: String,
pub is_valid: bool,
}
Expand description
Result from config command
Fields§
§config: String
The configuration output (YAML or JSON)
is_valid: bool
Whether the config is valid
Trait Implementations§
Source§impl Clone for ConfigResult
impl Clone for ConfigResult
Source§fn clone(&self) -> ConfigResult
fn clone(&self) -> ConfigResult
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 ConfigResult
impl RefUnwindSafe for ConfigResult
impl Send for ConfigResult
impl Sync for ConfigResult
impl Unpin for ConfigResult
impl UnwindSafe for ConfigResult
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