#[non_exhaustive]pub struct DocumentDefaultVersionDescriptionBuilder { /* private fields */ }
Expand description
A builder for DocumentDefaultVersionDescription
.
Implementations§
source§impl DocumentDefaultVersionDescriptionBuilder
impl DocumentDefaultVersionDescriptionBuilder
sourcepub fn default_version(self, input: impl Into<String>) -> Self
pub fn default_version(self, input: impl Into<String>) -> Self
The default version of the document.
sourcepub fn set_default_version(self, input: Option<String>) -> Self
pub fn set_default_version(self, input: Option<String>) -> Self
The default version of the document.
sourcepub fn get_default_version(&self) -> &Option<String>
pub fn get_default_version(&self) -> &Option<String>
The default version of the document.
sourcepub fn default_version_name(self, input: impl Into<String>) -> Self
pub fn default_version_name(self, input: impl Into<String>) -> Self
The default version of the artifact associated with the document.
sourcepub fn set_default_version_name(self, input: Option<String>) -> Self
pub fn set_default_version_name(self, input: Option<String>) -> Self
The default version of the artifact associated with the document.
sourcepub fn get_default_version_name(&self) -> &Option<String>
pub fn get_default_version_name(&self) -> &Option<String>
The default version of the artifact associated with the document.
sourcepub fn build(self) -> DocumentDefaultVersionDescription
pub fn build(self) -> DocumentDefaultVersionDescription
Consumes the builder and constructs a DocumentDefaultVersionDescription
.
Trait Implementations§
source§impl Clone for DocumentDefaultVersionDescriptionBuilder
impl Clone for DocumentDefaultVersionDescriptionBuilder
source§fn clone(&self) -> DocumentDefaultVersionDescriptionBuilder
fn clone(&self) -> DocumentDefaultVersionDescriptionBuilder
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 Default for DocumentDefaultVersionDescriptionBuilder
impl Default for DocumentDefaultVersionDescriptionBuilder
source§fn default() -> DocumentDefaultVersionDescriptionBuilder
fn default() -> DocumentDefaultVersionDescriptionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DocumentDefaultVersionDescriptionBuilder
impl PartialEq for DocumentDefaultVersionDescriptionBuilder
source§fn eq(&self, other: &DocumentDefaultVersionDescriptionBuilder) -> bool
fn eq(&self, other: &DocumentDefaultVersionDescriptionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DocumentDefaultVersionDescriptionBuilder
Auto Trait Implementations§
impl Freeze for DocumentDefaultVersionDescriptionBuilder
impl RefUnwindSafe for DocumentDefaultVersionDescriptionBuilder
impl Send for DocumentDefaultVersionDescriptionBuilder
impl Sync for DocumentDefaultVersionDescriptionBuilder
impl Unpin for DocumentDefaultVersionDescriptionBuilder
impl UnwindSafe for DocumentDefaultVersionDescriptionBuilder
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.