pub struct GitDependency {
pub name: String,
pub git_url: String,
pub branch_or_tag: Option<String>,
pub local_path: PathBuf,
}Expand description
Information about a git dependency that can be patched.
Fields§
§name: String§git_url: String§branch_or_tag: Option<String>§local_path: PathBufTrait Implementations§
Source§impl Clone for GitDependency
impl Clone for GitDependency
Source§fn clone(&self) -> GitDependency
fn clone(&self) -> GitDependency
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 GitDependency
impl RefUnwindSafe for GitDependency
impl Send for GitDependency
impl Sync for GitDependency
impl Unpin for GitDependency
impl UnwindSafe for GitDependency
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