#[non_exhaustive]pub struct ConnectedRepository {
pub repository: String,
pub dir: String,
pub revision: String,
/* private fields */
}Expand description
Location of the source in a 2nd-gen Google Cloud Build repository resource.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.repository: StringRequired. Name of the Google Cloud Build repository, formatted as
projects/*/locations/*/connections/*/repositories/*.
dir: StringOptional. Directory, relative to the source root, in which to run the build.
revision: StringRequired. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.
Implementations§
Trait Implementations§
Source§impl Clone for ConnectedRepository
impl Clone for ConnectedRepository
Source§fn clone(&self) -> ConnectedRepository
fn clone(&self) -> ConnectedRepository
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 ConnectedRepository
impl Debug for ConnectedRepository
Source§impl Default for ConnectedRepository
impl Default for ConnectedRepository
Source§fn default() -> ConnectedRepository
fn default() -> ConnectedRepository
Returns the “default value” for a type. Read more
Source§impl Message for ConnectedRepository
impl Message for ConnectedRepository
Source§impl PartialEq for ConnectedRepository
impl PartialEq for ConnectedRepository
impl StructuralPartialEq for ConnectedRepository
Auto Trait Implementations§
impl Freeze for ConnectedRepository
impl RefUnwindSafe for ConnectedRepository
impl Send for ConnectedRepository
impl Sync for ConnectedRepository
impl Unpin for ConnectedRepository
impl UnwindSafe for ConnectedRepository
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