#[non_exhaustive]pub struct ModelMetadataSummaryBuilder { /* private fields */ }
Expand description
A builder for ModelMetadataSummary
.
Implementations§
source§impl ModelMetadataSummaryBuilder
impl ModelMetadataSummaryBuilder
sourcepub fn domain(self, input: impl Into<String>) -> Self
pub fn domain(self, input: impl Into<String>) -> Self
The machine learning domain of the model.
This field is required.sourcepub fn set_domain(self, input: Option<String>) -> Self
pub fn set_domain(self, input: Option<String>) -> Self
The machine learning domain of the model.
sourcepub fn get_domain(&self) -> &Option<String>
pub fn get_domain(&self) -> &Option<String>
The machine learning domain of the model.
sourcepub fn framework(self, input: impl Into<String>) -> Self
pub fn framework(self, input: impl Into<String>) -> Self
The machine learning framework of the model.
This field is required.sourcepub fn set_framework(self, input: Option<String>) -> Self
pub fn set_framework(self, input: Option<String>) -> Self
The machine learning framework of the model.
sourcepub fn get_framework(&self) -> &Option<String>
pub fn get_framework(&self) -> &Option<String>
The machine learning framework of the model.
sourcepub fn task(self, input: impl Into<String>) -> Self
pub fn task(self, input: impl Into<String>) -> Self
The machine learning task of the model.
This field is required.sourcepub fn model(self, input: impl Into<String>) -> Self
pub fn model(self, input: impl Into<String>) -> Self
The name of the model.
This field is required.sourcepub fn framework_version(self, input: impl Into<String>) -> Self
pub fn framework_version(self, input: impl Into<String>) -> Self
The framework version of the model.
This field is required.sourcepub fn set_framework_version(self, input: Option<String>) -> Self
pub fn set_framework_version(self, input: Option<String>) -> Self
The framework version of the model.
sourcepub fn get_framework_version(&self) -> &Option<String>
pub fn get_framework_version(&self) -> &Option<String>
The framework version of the model.
sourcepub fn build(self) -> ModelMetadataSummary
pub fn build(self) -> ModelMetadataSummary
Consumes the builder and constructs a ModelMetadataSummary
.
Trait Implementations§
source§impl Clone for ModelMetadataSummaryBuilder
impl Clone for ModelMetadataSummaryBuilder
source§fn clone(&self) -> ModelMetadataSummaryBuilder
fn clone(&self) -> ModelMetadataSummaryBuilder
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 ModelMetadataSummaryBuilder
impl Debug for ModelMetadataSummaryBuilder
source§impl Default for ModelMetadataSummaryBuilder
impl Default for ModelMetadataSummaryBuilder
source§fn default() -> ModelMetadataSummaryBuilder
fn default() -> ModelMetadataSummaryBuilder
Returns the “default value” for a type. Read more
impl StructuralPartialEq for ModelMetadataSummaryBuilder
Auto Trait Implementations§
impl Freeze for ModelMetadataSummaryBuilder
impl RefUnwindSafe for ModelMetadataSummaryBuilder
impl Send for ModelMetadataSummaryBuilder
impl Sync for ModelMetadataSummaryBuilder
impl Unpin for ModelMetadataSummaryBuilder
impl UnwindSafe for ModelMetadataSummaryBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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 moreCreates a shared type from an unshared type.