#[non_exhaustive]pub struct RenderMetadata {
pub cloud_run: Option<CloudRunRenderMetadata>,
pub custom: Option<CustomMetadata>,
/* private fields */
}
Expand description
RenderMetadata includes information associated with a Release
render.
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.cloud_run: Option<CloudRunRenderMetadata>
Output only. Metadata associated with rendering for Cloud Run.
custom: Option<CustomMetadata>
Output only. Custom metadata provided by user-defined render operation.
Implementations§
Source§impl RenderMetadata
impl RenderMetadata
pub fn new() -> Self
Sourcepub fn set_cloud_run<T>(self, v: T) -> Selfwhere
T: Into<CloudRunRenderMetadata>,
pub fn set_cloud_run<T>(self, v: T) -> Selfwhere
T: Into<CloudRunRenderMetadata>,
Sets the value of cloud_run.
Sourcepub fn set_or_clear_cloud_run<T>(self, v: Option<T>) -> Selfwhere
T: Into<CloudRunRenderMetadata>,
pub fn set_or_clear_cloud_run<T>(self, v: Option<T>) -> Selfwhere
T: Into<CloudRunRenderMetadata>,
Sets or clears the value of cloud_run.
Sourcepub fn set_custom<T>(self, v: T) -> Selfwhere
T: Into<CustomMetadata>,
pub fn set_custom<T>(self, v: T) -> Selfwhere
T: Into<CustomMetadata>,
Sets the value of custom.
Sourcepub fn set_or_clear_custom<T>(self, v: Option<T>) -> Selfwhere
T: Into<CustomMetadata>,
pub fn set_or_clear_custom<T>(self, v: Option<T>) -> Selfwhere
T: Into<CustomMetadata>,
Sets or clears the value of custom.
Trait Implementations§
Source§impl Clone for RenderMetadata
impl Clone for RenderMetadata
Source§fn clone(&self) -> RenderMetadata
fn clone(&self) -> RenderMetadata
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 RenderMetadata
impl Debug for RenderMetadata
Source§impl Default for RenderMetadata
impl Default for RenderMetadata
Source§fn default() -> RenderMetadata
fn default() -> RenderMetadata
Returns the “default value” for a type. Read more
Source§impl Message for RenderMetadata
impl Message for RenderMetadata
Source§impl PartialEq for RenderMetadata
impl PartialEq for RenderMetadata
impl StructuralPartialEq for RenderMetadata
Auto Trait Implementations§
impl Freeze for RenderMetadata
impl RefUnwindSafe for RenderMetadata
impl Send for RenderMetadata
impl Sync for RenderMetadata
impl Unpin for RenderMetadata
impl UnwindSafe for RenderMetadata
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