pub struct GitSourceDependency {
pub depth: Option<i64>,
pub dest_path: Option<String>,
pub recurse_submodules: Option<bool>,
pub repository: Option<GitSourceRepository>,
pub revision: Option<String>,
}Expand description
Represents a git repository as a build dependency.
This type is not used in any activity, and only used as part of another schema.
Fields§
§depth: Option<i64>Optional. How much history should be fetched for the build (default 1, -1 for all history).
dest_path: Option<String>Required. Where should the files be placed on the worker.
recurse_submodules: Option<bool>Optional. True if submodules should be fetched too (default false).
repository: Option<GitSourceRepository>Required. The kind of repo (url or dev connect).
revision: Option<String>Required. The revision that we will fetch the repo at.
Trait Implementations§
Source§impl Clone for GitSourceDependency
impl Clone for GitSourceDependency
Source§fn clone(&self) -> GitSourceDependency
fn clone(&self) -> GitSourceDependency
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 moreSource§impl Debug for GitSourceDependency
impl Debug for GitSourceDependency
Source§impl Default for GitSourceDependency
impl Default for GitSourceDependency
Source§fn default() -> GitSourceDependency
fn default() -> GitSourceDependency
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GitSourceDependency
impl<'de> Deserialize<'de> for GitSourceDependency
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
Source§impl Serialize for GitSourceDependency
impl Serialize for GitSourceDependency
impl Part for GitSourceDependency
Auto Trait Implementations§
impl Freeze for GitSourceDependency
impl RefUnwindSafe for GitSourceDependency
impl Send for GitSourceDependency
impl Sync for GitSourceDependency
impl Unpin for GitSourceDependency
impl UnwindSafe for GitSourceDependency
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