Enum google_api_proto::google::cloud::aiplatform::v1::model::export_format::ExportableContent
source · #[repr(i32)]pub enum ExportableContent {
Unspecified = 0,
Artifact = 1,
Image = 2,
}
Expand description
The Model content that can be exported.
Variants§
Unspecified = 0
Should not be used.
Artifact = 1
Model artifact and any of its supported files. Will be exported to the
location specified by the artifactDestination
field of the
[ExportModelRequest.output_config][google.cloud.aiplatform.v1.ExportModelRequest.output_config]
object.
Image = 2
The container image that is to be used when deploying this Model. Will
be exported to the location specified by the imageDestination
field
of the
[ExportModelRequest.output_config][google.cloud.aiplatform.v1.ExportModelRequest.output_config]
object.
Implementations§
source§impl ExportableContent
impl ExportableContent
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for ExportableContent
impl Clone for ExportableContent
source§fn clone(&self) -> ExportableContent
fn clone(&self) -> ExportableContent
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExportableContent
impl Debug for ExportableContent
source§impl Default for ExportableContent
impl Default for ExportableContent
source§fn default() -> ExportableContent
fn default() -> ExportableContent
source§impl From<ExportableContent> for i32
impl From<ExportableContent> for i32
source§fn from(value: ExportableContent) -> i32
fn from(value: ExportableContent) -> i32
source§impl Hash for ExportableContent
impl Hash for ExportableContent
source§impl Ord for ExportableContent
impl Ord for ExportableContent
source§fn cmp(&self, other: &ExportableContent) -> Ordering
fn cmp(&self, other: &ExportableContent) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for ExportableContent
impl PartialEq for ExportableContent
source§fn eq(&self, other: &ExportableContent) -> bool
fn eq(&self, other: &ExportableContent) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ExportableContent
impl PartialOrd for ExportableContent
source§fn partial_cmp(&self, other: &ExportableContent) -> Option<Ordering>
fn partial_cmp(&self, other: &ExportableContent) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for ExportableContent
impl TryFrom<i32> for ExportableContent
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<ExportableContent, DecodeError>
fn try_from(value: i32) -> Result<ExportableContent, DecodeError>
impl Copy for ExportableContent
impl Eq for ExportableContent
impl StructuralPartialEq for ExportableContent
Auto Trait Implementations§
impl Freeze for ExportableContent
impl RefUnwindSafe for ExportableContent
impl Send for ExportableContent
impl Sync for ExportableContent
impl Unpin for ExportableContent
impl UnwindSafe for ExportableContent
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request