pub struct Submodule {
pub name: String,
pub path: PathBuf,
pub url: String,
pub tracked_branch: String,
pub parent_pointer: CommitHash,
pub local_head: CommitHash,
pub remote_head: CommitHash,
pub status: SubmoduleStatus,
pub ahead_count: usize,
pub behind_count: usize,
pub remote_unreachable: bool,
}Fields§
§name: String§path: PathBuf§url: String§tracked_branch: String§parent_pointer: CommitHash§local_head: CommitHash§remote_head: CommitHash§status: SubmoduleStatus§ahead_count: usize§behind_count: usize§remote_unreachable: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for Submodule
impl RefUnwindSafe for Submodule
impl Send for Submodule
impl Sync for Submodule
impl Unpin for Submodule
impl UnsafeUnpin for Submodule
impl UnwindSafe for Submodule
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