pub struct UpdateRegisteredModelBuilder { /* private fields */ }Expand description
Builder for updating a registered model
Implementations§
Source§impl UpdateRegisteredModelBuilder
impl UpdateRegisteredModelBuilder
Sourcepub fn with_new_name(self, new_name: impl Into<Option<String>>) -> Self
pub fn with_new_name(self, new_name: impl Into<Option<String>>) -> Self
New name for the registered 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.
Sourcepub fn with_owner(self, owner: impl Into<Option<String>>) -> Self
pub fn with_owner(self, owner: impl Into<Option<String>>) -> Self
Username of new owner of the registered model.
Trait Implementations§
Source§impl IntoFuture for UpdateRegisteredModelBuilder
impl IntoFuture for UpdateRegisteredModelBuilder
Source§type Output = Result<RegisteredModel, Error>
type Output = Result<RegisteredModel, Error>
The output that the future will produce on completion.
Source§type IntoFuture = Pin<Box<dyn Future<Output = <UpdateRegisteredModelBuilder as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <UpdateRegisteredModelBuilder 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 UpdateRegisteredModelBuilder
impl !UnwindSafe for UpdateRegisteredModelBuilder
impl Freeze for UpdateRegisteredModelBuilder
impl Send for UpdateRegisteredModelBuilder
impl Sync for UpdateRegisteredModelBuilder
impl Unpin for UpdateRegisteredModelBuilder
impl UnsafeUnpin for UpdateRegisteredModelBuilder
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