#[non_exhaustive]pub struct MlEngineModelVersion {
pub endpoint: String,
pub version: String,
/* private fields */
}Expand description
Represents one model Version in ml.googleapis.com.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.endpoint: StringThe ml.googleapis.com endpoint that this model Version currently lives in. Example values:
- ml.googleapis.com
- us-centrall-ml.googleapis.com
- europe-west4-ml.googleapis.com
- asia-east1-ml.googleapis.com
version: StringFull resource name of ml engine model Version.
Format: projects/{project}/models/{model}/versions/{version}.
Implementations§
Trait Implementations§
Source§impl Clone for MlEngineModelVersion
impl Clone for MlEngineModelVersion
Source§fn clone(&self) -> MlEngineModelVersion
fn clone(&self) -> MlEngineModelVersion
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 MlEngineModelVersion
impl Debug for MlEngineModelVersion
Source§impl Default for MlEngineModelVersion
impl Default for MlEngineModelVersion
Source§fn default() -> MlEngineModelVersion
fn default() -> MlEngineModelVersion
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MlEngineModelVersionwhere
MlEngineModelVersion: Default,
impl<'de> Deserialize<'de> for MlEngineModelVersionwhere
MlEngineModelVersion: Default,
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
Source§impl Message for MlEngineModelVersion
impl Message for MlEngineModelVersion
Source§impl PartialEq for MlEngineModelVersion
impl PartialEq for MlEngineModelVersion
Source§impl Serialize for MlEngineModelVersion
impl Serialize for MlEngineModelVersion
impl StructuralPartialEq for MlEngineModelVersion
Auto Trait Implementations§
impl Freeze for MlEngineModelVersion
impl RefUnwindSafe for MlEngineModelVersion
impl Send for MlEngineModelVersion
impl Sync for MlEngineModelVersion
impl Unpin for MlEngineModelVersion
impl UnwindSafe for MlEngineModelVersion
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