#[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
source§impl PartialEq for ModelMetadataSummaryBuilder
 
impl PartialEq for ModelMetadataSummaryBuilder
source§fn eq(&self, other: &ModelMetadataSummaryBuilder) -> bool
 
fn eq(&self, other: &ModelMetadataSummaryBuilder) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.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> 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.