pub struct GitSource {
pub url: String,
pub reference: Option<String>,
pub submodules: bool,
}Expand description
Source code is located in a Git repository.
Fields§
§url: StringThe URL of the Git remote.
reference: Option<String>The branch/commit/tag to checkout.
submodules: boolInclude submodules during checkout.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GitSource
impl<'de> Deserialize<'de> for GitSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for GitSource
Auto Trait Implementations§
impl Freeze for GitSource
impl RefUnwindSafe for GitSource
impl Send for GitSource
impl Sync for GitSource
impl Unpin for GitSource
impl UnwindSafe for GitSource
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