#[repr(i32)]pub enum ModelVersionStatus {
MODEL_VERSION_STATUS_UNSPECIFIED = 0,
PENDING_REGISTRATION = 1,
FAILED_REGISTRATION = 2,
READY = 3,
}Expand description
The status of a model version, reflecting the lifecycle of its artifacts in external storage.
Variants§
MODEL_VERSION_STATUS_UNSPECIFIED = 0
The status is not specified.
PENDING_REGISTRATION = 1
The client has not yet completely written all model artifacts to external storage. This is the initial status assigned on creation.
FAILED_REGISTRATION = 2
The client failed to write all model artifacts to external storage.
READY = 3
The client successfully wrote all model artifacts to external storage and the version has been finalized.
Implementations§
Source§impl ModelVersionStatus
impl ModelVersionStatus
Sourcepub const ModelVersionStatusUnspecified: Self = Self::MODEL_VERSION_STATUS_UNSPECIFIED
pub const ModelVersionStatusUnspecified: Self = Self::MODEL_VERSION_STATUS_UNSPECIFIED
Idiomatic alias for Self::MODEL_VERSION_STATUS_UNSPECIFIED; Debug prints the variant name.
Sourcepub const PendingRegistration: Self = Self::PENDING_REGISTRATION
pub const PendingRegistration: Self = Self::PENDING_REGISTRATION
Idiomatic alias for Self::PENDING_REGISTRATION; Debug prints the variant name.
Sourcepub const FailedRegistration: Self = Self::FAILED_REGISTRATION
pub const FailedRegistration: Self = Self::FAILED_REGISTRATION
Idiomatic alias for Self::FAILED_REGISTRATION; Debug prints the variant name.
Sourcepub const Ready: Self = Self::READY
pub const Ready: Self = Self::READY
Idiomatic alias for Self::READY; Debug prints the variant name.
Trait Implementations§
Source§impl Clone for ModelVersionStatus
impl Clone for ModelVersionStatus
Source§fn clone(&self) -> ModelVersionStatus
fn clone(&self) -> ModelVersionStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ModelVersionStatus
Source§impl Debug for ModelVersionStatus
impl Debug for ModelVersionStatus
Source§impl Default for ModelVersionStatus
impl Default for ModelVersionStatus
Source§impl<'de> Deserialize<'de> for ModelVersionStatus
impl<'de> Deserialize<'de> for ModelVersionStatus
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Enumeration for ModelVersionStatus
impl Enumeration for ModelVersionStatus
Source§fn proto_name(&self) -> &'static str
fn proto_name(&self) -> &'static str
The name of this enum variant as it appears in the
.proto file.impl Eq for ModelVersionStatus
Source§impl Hash for ModelVersionStatus
impl Hash for ModelVersionStatus
Source§impl PartialEq for ModelVersionStatus
impl PartialEq for ModelVersionStatus
Source§impl ProtoElemJson for ModelVersionStatus
impl ProtoElemJson for ModelVersionStatus
Source§fn serialize_proto_json<S: Serializer>(
v: &Self,
s: S,
) -> Result<S::Ok, S::Error>
fn serialize_proto_json<S: Serializer>( v: &Self, s: S, ) -> Result<S::Ok, S::Error>
Serialize this value with proto3 JSON semantics.
Source§fn deserialize_proto_json<'de, D: Deserializer<'de>>(
d: D,
) -> Result<Self, D::Error>
fn deserialize_proto_json<'de, D: Deserializer<'de>>( d: D, ) -> Result<Self, D::Error>
Deserialize a value with proto3 JSON semantics.
Source§impl Serialize for ModelVersionStatus
impl Serialize for ModelVersionStatus
impl StructuralPartialEq for ModelVersionStatus
Auto Trait Implementations§
impl Freeze for ModelVersionStatus
impl RefUnwindSafe for ModelVersionStatus
impl Send for ModelVersionStatus
impl Sync for ModelVersionStatus
impl Unpin for ModelVersionStatus
impl UnsafeUnpin for ModelVersionStatus
impl UnwindSafe for ModelVersionStatus
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