Enum google_api_proto::google::cloud::migrationcenter::v1::ImportJobFormat
source · #[repr(i32)]pub enum ImportJobFormat {
Unspecified = 0,
RvtoolsXlsx = 1,
RvtoolsCsv = 2,
ExportedAwsCsv = 4,
ExportedAzureCsv = 5,
StratozoneCsv = 6,
}
Expand description
Specifies the data formats supported by Migration Center.
Variants§
Unspecified = 0
Default value.
RvtoolsXlsx = 1
RVTools format (XLSX).
RvtoolsCsv = 2
RVTools format (CSV).
ExportedAwsCsv = 4
CSV format exported from AWS using the [AWS collection script][https://github.com/GoogleCloudPlatform/aws-to-stratozone-export].
ExportedAzureCsv = 5
CSV format exported from Azure using the [Azure collection script][https://github.com/GoogleCloudPlatform/azure-to-stratozone-export].
StratozoneCsv = 6
CSV format created manually and following the StratoZone format. For more information, see [Manually create and upload data tables][https://cloud.google.com/migrate/stratozone/docs/import-data-portal].
Implementations§
source§impl ImportJobFormat
impl ImportJobFormat
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 ImportJobFormat
impl Clone for ImportJobFormat
source§fn clone(&self) -> ImportJobFormat
fn clone(&self) -> ImportJobFormat
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImportJobFormat
impl Debug for ImportJobFormat
source§impl Default for ImportJobFormat
impl Default for ImportJobFormat
source§fn default() -> ImportJobFormat
fn default() -> ImportJobFormat
source§impl From<ImportJobFormat> for i32
impl From<ImportJobFormat> for i32
source§fn from(value: ImportJobFormat) -> i32
fn from(value: ImportJobFormat) -> i32
source§impl Hash for ImportJobFormat
impl Hash for ImportJobFormat
source§impl Ord for ImportJobFormat
impl Ord for ImportJobFormat
source§fn cmp(&self, other: &ImportJobFormat) -> Ordering
fn cmp(&self, other: &ImportJobFormat) -> 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 ImportJobFormat
impl PartialEq for ImportJobFormat
source§fn eq(&self, other: &ImportJobFormat) -> bool
fn eq(&self, other: &ImportJobFormat) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ImportJobFormat
impl PartialOrd for ImportJobFormat
source§fn partial_cmp(&self, other: &ImportJobFormat) -> Option<Ordering>
fn partial_cmp(&self, other: &ImportJobFormat) -> 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 ImportJobFormat
impl TryFrom<i32> for ImportJobFormat
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<ImportJobFormat, UnknownEnumValue>
fn try_from(value: i32) -> Result<ImportJobFormat, UnknownEnumValue>
impl Copy for ImportJobFormat
impl Eq for ImportJobFormat
impl StructuralPartialEq for ImportJobFormat
Auto Trait Implementations§
impl Freeze for ImportJobFormat
impl RefUnwindSafe for ImportJobFormat
impl Send for ImportJobFormat
impl Sync for ImportJobFormat
impl Unpin for ImportJobFormat
impl UnwindSafe for ImportJobFormat
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