Enum google_api_proto::google::cloud::migrationcenter::v1::ReportView
source · #[repr(i32)]pub enum ReportView {
Unspecified = 0,
Basic = 1,
Full = 2,
Standard = 3,
}
Expand description
Specifies the types of views that provide complete or partial details of a Report.
Variants§
Unspecified = 0
The report view is not specified. The API displays the basic view by default.
Basic = 1
The report view includes only basic metadata of the Report. Useful for list views.
Full = 2
The report view includes all the metadata of the Report. Useful for preview.
Standard = 3
The report view includes the standard metadata of an report. Useful for detail view.
Implementations§
source§impl ReportView
impl ReportView
source§impl ReportView
impl ReportView
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 ReportView
impl Clone for ReportView
source§fn clone(&self) -> ReportView
fn clone(&self) -> ReportView
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 ReportView
impl Debug for ReportView
source§impl Default for ReportView
impl Default for ReportView
source§fn default() -> ReportView
fn default() -> ReportView
Returns the “default value” for a type. Read more
source§impl From<ReportView> for i32
impl From<ReportView> for i32
source§fn from(value: ReportView) -> i32
fn from(value: ReportView) -> i32
Converts to this type from the input type.
source§impl Hash for ReportView
impl Hash for ReportView
source§impl Ord for ReportView
impl Ord for ReportView
source§fn cmp(&self, other: &ReportView) -> Ordering
fn cmp(&self, other: &ReportView) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ReportView
impl PartialEq for ReportView
source§fn eq(&self, other: &ReportView) -> bool
fn eq(&self, other: &ReportView) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ReportView
impl PartialOrd for ReportView
source§fn partial_cmp(&self, other: &ReportView) -> Option<Ordering>
fn partial_cmp(&self, other: &ReportView) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for ReportView
impl TryFrom<i32> for ReportView
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
source§fn try_from(value: i32) -> Result<ReportView, UnknownEnumValue>
fn try_from(value: i32) -> Result<ReportView, UnknownEnumValue>
Performs the conversion.
impl Copy for ReportView
impl Eq for ReportView
impl StructuralPartialEq for ReportView
Auto Trait Implementations§
impl Freeze for ReportView
impl RefUnwindSafe for ReportView
impl Send for ReportView
impl Sync for ReportView
impl Unpin for ReportView
impl UnwindSafe for ReportView
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
§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
Compare self to
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
Checks if this value is equivalent to the given key. Read more
§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
Compare self to
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>
Wrap the input message
T
in a tonic::Request