pub struct Config {
pub credentials: Credentials,
pub message: Option<String>,
pub file_path: Option<PathBuf>,
pub verbose: bool,
}Fields§
§credentials: Credentials§message: Option<String>§file_path: Option<PathBuf>§verbose: boolImplementations§
Source§impl Config
impl Config
pub fn from_args() -> Result<Self, FreeMobileError>
pub fn from_matches(matches: &ArgMatches) -> Result<Self, FreeMobileError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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