pub struct GitBranches {
pub is_repo: bool,
pub current: Option<String>,
pub branches: Vec<String>,
}Expand description
Shaped GET /api/git/branches result: local branches plus the current one.
Fields§
§is_repo: bool§current: Option<String>§branches: Vec<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for GitBranches
impl RefUnwindSafe for GitBranches
impl Send for GitBranches
impl Sync for GitBranches
impl Unpin for GitBranches
impl UnsafeUnpin for GitBranches
impl UnwindSafe for GitBranches
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