pub struct CheckoutOpts {
pub reference: String,
pub force: bool,
pub paths: Option<Vec<PathBuf>>,
}Expand description
Options for checkout operation with builder pattern.
Fields§
§reference: String§force: bool§paths: Option<Vec<PathBuf>>Implementations§
Trait Implementations§
Source§impl Clone for CheckoutOpts
impl Clone for CheckoutOpts
Source§fn clone(&self) -> CheckoutOpts
fn clone(&self) -> CheckoutOpts
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 CheckoutOpts
impl RefUnwindSafe for CheckoutOpts
impl Send for CheckoutOpts
impl Sync for CheckoutOpts
impl Unpin for CheckoutOpts
impl UnwindSafe for CheckoutOpts
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