pub struct BranchSpec {
pub name: String,
pub start: Option<String>,
}Expand description
Parsed branch specification.
Branches can be specified as "name" or "name:start" where start is a
revision expression indicating where the path should begin.
Fields§
§name: String§start: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for BranchSpec
impl Clone for BranchSpec
Source§fn clone(&self) -> BranchSpec
fn clone(&self) -> BranchSpec
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 BranchSpec
impl RefUnwindSafe for BranchSpec
impl Send for BranchSpec
impl Sync for BranchSpec
impl Unpin for BranchSpec
impl UnsafeUnpin for BranchSpec
impl UnwindSafe for BranchSpec
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