pub struct SwitchRequest {
pub version: String,
pub base_dir: PathBuf,
pub global: bool,
pub force: bool,
}
Expand description
Switch request
Fields§
§version: String
§base_dir: PathBuf
§global: bool
§force: bool
Trait Implementations§
Source§impl Clone for SwitchRequest
impl Clone for SwitchRequest
Source§fn clone(&self) -> SwitchRequest
fn clone(&self) -> SwitchRequest
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 SwitchRequest
impl RefUnwindSafe for SwitchRequest
impl Send for SwitchRequest
impl Sync for SwitchRequest
impl Unpin for SwitchRequest
impl UnwindSafe for SwitchRequest
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