Struct google_cloudbuild1::RepoSource
source · pub struct RepoSource {
pub repo_name: Option<String>,
pub tag_name: Option<String>,
pub project_id: Option<String>,
pub branch_name: Option<String>,
pub dir: Option<String>,
pub commit_sha: Option<String>,
}Expand description
Location of the source in a Google Cloud Source Repository.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- triggers run projects (request)
Fields§
§repo_name: Option<String>Name of the Cloud Source Repository. If omitted, the name “default” is assumed.
tag_name: Option<String>Name of the tag to build.
project_id: Option<String>ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
branch_name: Option<String>Name of the branch to build.
dir: Option<String>Directory, relative to the source root, in which to run the build.
This must be a relative path. If a step’s dir is specified and is an
absolute path, this value is ignored for that step’s execution.
commit_sha: Option<String>Explicit commit SHA to build.
Trait Implementations§
source§impl Clone for RepoSource
impl Clone for RepoSource
source§fn clone(&self) -> RepoSource
fn clone(&self) -> RepoSource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RepoSource
impl Debug for RepoSource
source§impl Default for RepoSource
impl Default for RepoSource
source§fn default() -> RepoSource
fn default() -> RepoSource
source§impl<'de> Deserialize<'de> for RepoSource
impl<'de> Deserialize<'de> for RepoSource
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>,
source§impl Serialize for RepoSource
impl Serialize for RepoSource
impl RequestValue for RepoSource
Auto Trait Implementations§
impl Freeze for RepoSource
impl RefUnwindSafe for RepoSource
impl Send for RepoSource
impl Sync for RepoSource
impl Unpin for RepoSource
impl UnwindSafe for RepoSource
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more