pub struct GitRepoSource {
pub bitbucket_server_config: Option<String>,
pub github_enterprise_config: Option<String>,
pub ref_: Option<String>,
pub repo_type: Option<String>,
pub repository: Option<String>,
pub uri: Option<String>,
}Expand description
GitRepoSource describes a repo and ref of a code repository.
This type is not used in any activity, and only used as part of another schema.
Fields§
§bitbucket_server_config: Option<String>The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
github_enterprise_config: Option<String>The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
ref_: Option<String>The branch or tag to use. Must start with “refs/” (required).
repo_type: Option<String>See RepoType below.
repository: Option<String>The connected repository resource name, in the format projects/*/locations/*/connections/*/repositories/*. Either uri or repository can be specified and is required.
uri: Option<String>The URI of the repo (e.g. https://github.com/user/repo.git). Either uri or repository can be specified and is required.
Trait Implementations§
Source§impl Clone for GitRepoSource
impl Clone for GitRepoSource
Source§fn clone(&self) -> GitRepoSource
fn clone(&self) -> GitRepoSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GitRepoSource
impl Debug for GitRepoSource
Source§impl Default for GitRepoSource
impl Default for GitRepoSource
Source§fn default() -> GitRepoSource
fn default() -> GitRepoSource
Source§impl<'de> Deserialize<'de> for GitRepoSource
impl<'de> Deserialize<'de> for GitRepoSource
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 GitRepoSource
impl Serialize for GitRepoSource
impl Part for GitRepoSource
Auto Trait Implementations§
impl Freeze for GitRepoSource
impl RefUnwindSafe for GitRepoSource
impl Send for GitRepoSource
impl Sync for GitRepoSource
impl Unpin for GitRepoSource
impl UnwindSafe for GitRepoSource
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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