#[non_exhaustive]pub enum Source {
StorageSource(Box<StorageSource>),
RepoSource(Box<RepoSource>),
GitSource(Box<GitSource>),
StorageSourceManifest(Box<StorageSourceManifest>),
ConnectedRepository(Box<ConnectedRepository>),
}Expand description
Location of source.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
StorageSource(Box<StorageSource>)
If provided, get the source from this location in Cloud Storage.
RepoSource(Box<RepoSource>)
If provided, get the source from this location in a Cloud Source Repository.
GitSource(Box<GitSource>)
If provided, get the source from this Git repository.
StorageSourceManifest(Box<StorageSourceManifest>)
If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description here.
ConnectedRepository(Box<ConnectedRepository>)
Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource.
Trait Implementations§
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnwindSafe for Source
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