pub struct CreateModelVersionBuilder { /* private fields */ }Expand description
Builder for creating a model version
Implementations§
Source§impl CreateModelVersionBuilder
impl CreateModelVersionBuilder
Sourcepub fn with_run_id(self, run_id: impl Into<Option<String>>) -> Self
pub fn with_run_id(self, run_id: impl Into<Option<String>>) -> Self
The run id used by the ML package that generated this model.
Sourcepub fn with_comment(self, comment: impl Into<Option<String>>) -> Self
pub fn with_comment(self, comment: impl Into<Option<String>>) -> Self
User-provided free-form text description.
Trait Implementations§
Source§impl IntoFuture for CreateModelVersionBuilder
impl IntoFuture for CreateModelVersionBuilder
Source§type Output = Result<ModelVersion, Error>
type Output = Result<ModelVersion, Error>
The output that the future will produce on completion.
Source§type IntoFuture = Pin<Box<dyn Future<Output = <CreateModelVersionBuilder as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <CreateModelVersionBuilder as IntoFuture>::Output> + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for CreateModelVersionBuilder
impl !UnwindSafe for CreateModelVersionBuilder
impl Freeze for CreateModelVersionBuilder
impl Send for CreateModelVersionBuilder
impl Sync for CreateModelVersionBuilder
impl Unpin for CreateModelVersionBuilder
impl UnsafeUnpin for CreateModelVersionBuilder
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