#[non_exhaustive]pub struct ArtifactObjects {
pub location: String,
pub paths: Vec<String>,
pub timing: Option<TimeSpan>,
}Expand description
Files in the workspace to upload to Cloud Storage upon successful completion of all build steps.
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.location: StringCloud Storage bucket and optional object path, in the form “gs://bucket/path/to/somewhere/”. (see Bucket Name Requirements).
Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.
paths: Vec<String>Path globs used to match files in the build’s workspace.
timing: Option<TimeSpan>Output only. Stores timing information for pushing all artifact objects.
Implementations§
Source§impl ArtifactObjects
impl ArtifactObjects
Sourcepub fn set_location<T: Into<String>>(self, v: T) -> Self
pub fn set_location<T: Into<String>>(self, v: T) -> Self
Sets the value of location.
Trait Implementations§
Source§impl Clone for ArtifactObjects
impl Clone for ArtifactObjects
Source§fn clone(&self) -> ArtifactObjects
fn clone(&self) -> ArtifactObjects
Returns a copy 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 ArtifactObjects
impl Debug for ArtifactObjects
Source§impl Default for ArtifactObjects
impl Default for ArtifactObjects
Source§fn default() -> ArtifactObjects
fn default() -> ArtifactObjects
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ArtifactObjectswhere
ArtifactObjects: Default,
impl<'de> Deserialize<'de> for ArtifactObjectswhere
ArtifactObjects: Default,
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 Message for ArtifactObjects
impl Message for ArtifactObjects
Source§impl PartialEq for ArtifactObjects
impl PartialEq for ArtifactObjects
Source§impl Serialize for ArtifactObjects
impl Serialize for ArtifactObjects
impl StructuralPartialEq for ArtifactObjects
Auto Trait Implementations§
impl Freeze for ArtifactObjects
impl RefUnwindSafe for ArtifactObjects
impl Send for ArtifactObjects
impl Sync for ArtifactObjects
impl Unpin for ArtifactObjects
impl UnwindSafe for ArtifactObjects
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