Struct proto_pdk_api::GitSource
source · pub struct GitSource {
pub url: String,
pub reference: String,
pub submodules: bool,
}
Expand description
Source code is located in a Git repository.
Fields§
§url: String
The URL of the Git remote.
reference: String
The branch/commit/tag to checkout.
submodules: bool
Include 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
source§impl PartialEq for GitSource
impl PartialEq for GitSource
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