#[non_exhaustive]pub struct DependencyRevisionBuilder { /* private fields */ }
Expand description
A builder for DependencyRevision
.
Implementations§
source§impl DependencyRevisionBuilder
impl DependencyRevisionBuilder
sourcepub fn revision_number(self, input: i64) -> Self
pub fn revision_number(self, input: i64) -> Self
The revision number of the workflow or system.
sourcepub fn set_revision_number(self, input: Option<i64>) -> Self
pub fn set_revision_number(self, input: Option<i64>) -> Self
The revision number of the workflow or system.
sourcepub fn get_revision_number(&self) -> &Option<i64>
pub fn get_revision_number(&self) -> &Option<i64>
The revision number of the workflow or system.
sourcepub fn build(self) -> DependencyRevision
pub fn build(self) -> DependencyRevision
Consumes the builder and constructs a DependencyRevision
.
Trait Implementations§
source§impl Clone for DependencyRevisionBuilder
impl Clone for DependencyRevisionBuilder
source§fn clone(&self) -> DependencyRevisionBuilder
fn clone(&self) -> DependencyRevisionBuilder
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 DependencyRevisionBuilder
impl Debug for DependencyRevisionBuilder
source§impl Default for DependencyRevisionBuilder
impl Default for DependencyRevisionBuilder
source§fn default() -> DependencyRevisionBuilder
fn default() -> DependencyRevisionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DependencyRevisionBuilder
impl PartialEq for DependencyRevisionBuilder
source§fn eq(&self, other: &DependencyRevisionBuilder) -> bool
fn eq(&self, other: &DependencyRevisionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DependencyRevisionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DependencyRevisionBuilder
impl Send for DependencyRevisionBuilder
impl Sync for DependencyRevisionBuilder
impl Unpin for DependencyRevisionBuilder
impl UnwindSafe for DependencyRevisionBuilder
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>
Creates a shared type from an unshared type.