pub struct DeployModelRequest {
pub version: Option<String>,
}
Expand description
A request for deploying a model.
If the given version is empty (or the body is empty), it will deploy the latest version. If the version is set to “latest”, it will also deploy the latest version
Fields§
§version: Option<String>
Trait Implementations§
Source§impl Debug for DeployModelRequest
impl Debug for DeployModelRequest
Source§impl<'de> Deserialize<'de> for DeployModelRequest
impl<'de> Deserialize<'de> for DeployModelRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DeployModelRequest
impl RefUnwindSafe for DeployModelRequest
impl Send for DeployModelRequest
impl Sync for DeployModelRequest
impl Unpin for DeployModelRequest
impl UnwindSafe for DeployModelRequest
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