#[non_exhaustive]pub struct GetWorkflowRunOutput {
pub space_name: String,
pub project_name: String,
pub id: String,
pub workflow_id: String,
pub status: WorkflowRunStatus,
pub status_reasons: Option<Vec<WorkflowRunStatusReason>>,
pub start_time: DateTime,
pub end_time: Option<DateTime>,
pub last_updated_time: DateTime,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.space_name: String
The name of the space.
project_name: String
The name of the project in the space.
id: String
The ID of the workflow run.
workflow_id: String
The ID of the workflow.
status: WorkflowRunStatus
The status of the workflow run.
status_reasons: Option<Vec<WorkflowRunStatusReason>>
Information about the reasons for the status of the workflow run.
start_time: DateTime
The date and time the workflow run began, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
end_time: Option<DateTime>
The date and time the workflow run ended, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
last_updated_time: DateTime
The date and time the workflow run status was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
Implementations§
source§impl GetWorkflowRunOutput
impl GetWorkflowRunOutput
sourcepub fn space_name(&self) -> &str
pub fn space_name(&self) -> &str
The name of the space.
sourcepub fn project_name(&self) -> &str
pub fn project_name(&self) -> &str
The name of the project in the space.
sourcepub fn workflow_id(&self) -> &str
pub fn workflow_id(&self) -> &str
The ID of the workflow.
sourcepub fn status(&self) -> &WorkflowRunStatus
pub fn status(&self) -> &WorkflowRunStatus
The status of the workflow run.
sourcepub fn status_reasons(&self) -> &[WorkflowRunStatusReason]
pub fn status_reasons(&self) -> &[WorkflowRunStatusReason]
Information about the reasons for the status of the workflow run.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .status_reasons.is_none()
.
sourcepub fn start_time(&self) -> &DateTime
pub fn start_time(&self) -> &DateTime
The date and time the workflow run began, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
The date and time the workflow run ended, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
sourcepub fn last_updated_time(&self) -> &DateTime
pub fn last_updated_time(&self) -> &DateTime
The date and time the workflow run status was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
source§impl GetWorkflowRunOutput
impl GetWorkflowRunOutput
sourcepub fn builder() -> GetWorkflowRunOutputBuilder
pub fn builder() -> GetWorkflowRunOutputBuilder
Creates a new builder-style object to manufacture GetWorkflowRunOutput
.
Trait Implementations§
source§impl Clone for GetWorkflowRunOutput
impl Clone for GetWorkflowRunOutput
source§fn clone(&self) -> GetWorkflowRunOutput
fn clone(&self) -> GetWorkflowRunOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetWorkflowRunOutput
impl Debug for GetWorkflowRunOutput
source§impl PartialEq for GetWorkflowRunOutput
impl PartialEq for GetWorkflowRunOutput
source§fn eq(&self, other: &GetWorkflowRunOutput) -> bool
fn eq(&self, other: &GetWorkflowRunOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetWorkflowRunOutput
impl RequestId for GetWorkflowRunOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetWorkflowRunOutput
Auto Trait Implementations§
impl Freeze for GetWorkflowRunOutput
impl RefUnwindSafe for GetWorkflowRunOutput
impl Send for GetWorkflowRunOutput
impl Sync for GetWorkflowRunOutput
impl Unpin for GetWorkflowRunOutput
impl UnwindSafe for GetWorkflowRunOutput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more