Struct google_api_proto::google::cloud::deploy::v1::release::TargetRender
source · pub struct TargetRender {
pub rendering_build: String,
pub rendering_state: i32,
pub metadata: Option<RenderMetadata>,
pub failure_cause: i32,
pub failure_message: String,
}
Expand description
Details of rendering for a single target.
Fields§
§rendering_build: String
Output only. The resource name of the Cloud Build Build
object that is
used to render the manifest for this target. Format is
projects/{project}/locations/{location}/builds/{build}
.
rendering_state: i32
Output only. Current state of the render operation for this Target.
metadata: Option<RenderMetadata>
Output only. Metadata related to the Release
render for this Target.
failure_cause: i32
Output only. Reason this render failed. This will always be unspecified while the render in progress.
failure_message: String
Output only. Additional information about the render failure, if available.
Implementations§
source§impl TargetRender
impl TargetRender
sourcepub fn rendering_state(&self) -> TargetRenderState
pub fn rendering_state(&self) -> TargetRenderState
Returns the enum value of rendering_state
, or the default if the field is set to an invalid enum value.
sourcepub fn set_rendering_state(&mut self, value: TargetRenderState)
pub fn set_rendering_state(&mut self, value: TargetRenderState)
Sets rendering_state
to the provided enum value.
sourcepub fn failure_cause(&self) -> FailureCause
pub fn failure_cause(&self) -> FailureCause
Returns the enum value of failure_cause
, or the default if the field is set to an invalid enum value.
sourcepub fn set_failure_cause(&mut self, value: FailureCause)
pub fn set_failure_cause(&mut self, value: FailureCause)
Sets failure_cause
to the provided enum value.
Trait Implementations§
source§impl Clone for TargetRender
impl Clone for TargetRender
source§fn clone(&self) -> TargetRender
fn clone(&self) -> TargetRender
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TargetRender
impl Debug for TargetRender
source§impl Default for TargetRender
impl Default for TargetRender
source§impl Message for TargetRender
impl Message for TargetRender
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for TargetRender
impl PartialEq for TargetRender
source§fn eq(&self, other: &TargetRender) -> bool
fn eq(&self, other: &TargetRender) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TargetRender
Auto Trait Implementations§
impl Freeze for TargetRender
impl RefUnwindSafe for TargetRender
impl Send for TargetRender
impl Sync for TargetRender
impl Unpin for TargetRender
impl UnwindSafe for TargetRender
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request