#[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 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 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<DocumentDefaultVersionDescriptionBuilder> for DocumentDefaultVersionDescriptionBuilder
impl PartialEq<DocumentDefaultVersionDescriptionBuilder> 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 ==.