#[non_exhaustive]pub struct CurrentRevisionBuilder { /* private fields */ }Expand description
A builder for CurrentRevision.
Implementations§
source§impl CurrentRevisionBuilder
impl CurrentRevisionBuilder
sourcepub fn revision(self, input: impl Into<String>) -> Self
pub fn revision(self, input: impl Into<String>) -> Self
The revision ID of the current version of an artifact.
sourcepub fn set_revision(self, input: Option<String>) -> Self
pub fn set_revision(self, input: Option<String>) -> Self
The revision ID of the current version of an artifact.
sourcepub fn change_identifier(self, input: impl Into<String>) -> Self
pub fn change_identifier(self, input: impl Into<String>) -> Self
The change identifier for the current revision.
sourcepub fn set_change_identifier(self, input: Option<String>) -> Self
pub fn set_change_identifier(self, input: Option<String>) -> Self
The change identifier for the current revision.
sourcepub fn created(self, input: DateTime) -> Self
pub fn created(self, input: DateTime) -> Self
The date and time when the most recent revision of the artifact was created, in timestamp format.
sourcepub fn set_created(self, input: Option<DateTime>) -> Self
pub fn set_created(self, input: Option<DateTime>) -> Self
The date and time when the most recent revision of the artifact was created, in timestamp format.
sourcepub fn revision_summary(self, input: impl Into<String>) -> Self
pub fn revision_summary(self, input: impl Into<String>) -> Self
The summary of the most recent revision of the artifact.
sourcepub fn set_revision_summary(self, input: Option<String>) -> Self
pub fn set_revision_summary(self, input: Option<String>) -> Self
The summary of the most recent revision of the artifact.
sourcepub fn build(self) -> CurrentRevision
pub fn build(self) -> CurrentRevision
Consumes the builder and constructs a CurrentRevision.
Trait Implementations§
source§impl Clone for CurrentRevisionBuilder
impl Clone for CurrentRevisionBuilder
source§fn clone(&self) -> CurrentRevisionBuilder
fn clone(&self) -> CurrentRevisionBuilder
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 CurrentRevisionBuilder
impl Debug for CurrentRevisionBuilder
source§impl Default for CurrentRevisionBuilder
impl Default for CurrentRevisionBuilder
source§fn default() -> CurrentRevisionBuilder
fn default() -> CurrentRevisionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CurrentRevisionBuilder> for CurrentRevisionBuilder
impl PartialEq<CurrentRevisionBuilder> for CurrentRevisionBuilder
source§fn eq(&self, other: &CurrentRevisionBuilder) -> bool
fn eq(&self, other: &CurrentRevisionBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CurrentRevisionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CurrentRevisionBuilder
impl Send for CurrentRevisionBuilder
impl Sync for CurrentRevisionBuilder
impl Unpin for CurrentRevisionBuilder
impl UnwindSafe for CurrentRevisionBuilder
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