#[non_exhaustive]pub struct GetWorkflowRunOutputBuilder { /* private fields */ }
Expand description
A builder for GetWorkflowRunOutput
.
Implementations§
source§impl GetWorkflowRunOutputBuilder
impl GetWorkflowRunOutputBuilder
sourcepub fn run(self, input: WorkflowRun) -> Self
pub fn run(self, input: WorkflowRun) -> Self
The requested workflow run metadata.
sourcepub fn set_run(self, input: Option<WorkflowRun>) -> Self
pub fn set_run(self, input: Option<WorkflowRun>) -> Self
The requested workflow run metadata.
sourcepub fn get_run(&self) -> &Option<WorkflowRun>
pub fn get_run(&self) -> &Option<WorkflowRun>
The requested workflow run metadata.
sourcepub fn build(self) -> GetWorkflowRunOutput
pub fn build(self) -> GetWorkflowRunOutput
Consumes the builder and constructs a GetWorkflowRunOutput
.
Trait Implementations§
source§impl Clone for GetWorkflowRunOutputBuilder
impl Clone for GetWorkflowRunOutputBuilder
source§fn clone(&self) -> GetWorkflowRunOutputBuilder
fn clone(&self) -> GetWorkflowRunOutputBuilder
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 GetWorkflowRunOutputBuilder
impl Debug for GetWorkflowRunOutputBuilder
source§impl Default for GetWorkflowRunOutputBuilder
impl Default for GetWorkflowRunOutputBuilder
source§fn default() -> GetWorkflowRunOutputBuilder
fn default() -> GetWorkflowRunOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetWorkflowRunOutputBuilder
impl PartialEq for GetWorkflowRunOutputBuilder
source§fn eq(&self, other: &GetWorkflowRunOutputBuilder) -> bool
fn eq(&self, other: &GetWorkflowRunOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetWorkflowRunOutputBuilder
Auto Trait Implementations§
impl Freeze for GetWorkflowRunOutputBuilder
impl RefUnwindSafe for GetWorkflowRunOutputBuilder
impl Send for GetWorkflowRunOutputBuilder
impl Sync for GetWorkflowRunOutputBuilder
impl Unpin for GetWorkflowRunOutputBuilder
impl UnwindSafe for GetWorkflowRunOutputBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.