pub struct SwitchOutcome {
pub branch: String,
pub commit_id: Option<ObjectId>,
pub restore: RestoreOutcome,
}Expand description
Result of switch.
Fields§
§branch: String§commit_id: Option<ObjectId>§restore: RestoreOutcomeTrait Implementations§
Source§impl Clone for SwitchOutcome
impl Clone for SwitchOutcome
Source§fn clone(&self) -> SwitchOutcome
fn clone(&self) -> SwitchOutcome
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 SwitchOutcome
impl RefUnwindSafe for SwitchOutcome
impl Send for SwitchOutcome
impl Sync for SwitchOutcome
impl Unpin for SwitchOutcome
impl UnsafeUnpin for SwitchOutcome
impl UnwindSafe for SwitchOutcome
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