pub struct ModelMetadataAnnotationsBuilder { /* private fields */ }
Expand description
Builder for ModelMetadataAnnotations
.
Implementations§
Source§impl ModelMetadataAnnotationsBuilder
impl ModelMetadataAnnotationsBuilder
Sourcepub fn file_path(&mut self, value: Option<String>) -> &mut Self
pub fn file_path(&mut self, value: Option<String>) -> &mut Self
File path for the resource, generated automatically.
Sourcepub fn file_dir(&mut self, value: Option<String>) -> &mut Self
pub fn file_dir(&mut self, value: Option<String>) -> &mut Self
Directory containing the resource, generated automatically.
Sourcepub fn bin_path(&mut self, value: Option<String>) -> &mut Self
pub fn bin_path(&mut self, value: Option<String>) -> &mut Self
When running commands, additional paths that should be paced at the beginning of the PATH
.
pub fn extra(&mut self, value: BTreeMap<String, String>) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<ModelMetadataAnnotations, ModelMetadataAnnotationsBuilderError>
pub fn build( &self, ) -> Result<ModelMetadataAnnotations, ModelMetadataAnnotationsBuilderError>
Trait Implementations§
Source§impl Clone for ModelMetadataAnnotationsBuilder
impl Clone for ModelMetadataAnnotationsBuilder
Source§fn clone(&self) -> ModelMetadataAnnotationsBuilder
fn clone(&self) -> ModelMetadataAnnotationsBuilder
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 moreAuto Trait Implementations§
impl Freeze for ModelMetadataAnnotationsBuilder
impl RefUnwindSafe for ModelMetadataAnnotationsBuilder
impl Send for ModelMetadataAnnotationsBuilder
impl Sync for ModelMetadataAnnotationsBuilder
impl Unpin for ModelMetadataAnnotationsBuilder
impl UnwindSafe for ModelMetadataAnnotationsBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more