Enum google_api_proto::google::cloud::clouddms::v1::DatabaseEntityView
source · #[repr(i32)]pub enum DatabaseEntityView {
Unspecified = 0,
Basic = 1,
Full = 2,
RootSummary = 3,
}
Expand description
AIP-157 Partial Response view for Database Entity.
Variants§
Unspecified = 0
Unspecified view. Defaults to basic view.
Basic = 1
Default view. Does not return DDLs or Issues.
Full = 2
Return full entity details including mappings, ddl and issues.
RootSummary = 3
Top-most (Database, Schema) nodes which are returned contains summary details for their decendents such as the number of entities per type and issues rollups. When this view is used, only a single page of result is returned and the page_size property of the request is ignored. The returned page will only include the top-most node types.
Implementations§
source§impl DatabaseEntityView
impl DatabaseEntityView
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 DatabaseEntityView
impl Clone for DatabaseEntityView
source§fn clone(&self) -> DatabaseEntityView
fn clone(&self) -> DatabaseEntityView
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DatabaseEntityView
impl Debug for DatabaseEntityView
source§impl Default for DatabaseEntityView
impl Default for DatabaseEntityView
source§fn default() -> DatabaseEntityView
fn default() -> DatabaseEntityView
source§impl From<DatabaseEntityView> for i32
impl From<DatabaseEntityView> for i32
source§fn from(value: DatabaseEntityView) -> i32
fn from(value: DatabaseEntityView) -> i32
source§impl Hash for DatabaseEntityView
impl Hash for DatabaseEntityView
source§impl Ord for DatabaseEntityView
impl Ord for DatabaseEntityView
source§fn cmp(&self, other: &DatabaseEntityView) -> Ordering
fn cmp(&self, other: &DatabaseEntityView) -> 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 DatabaseEntityView
impl PartialEq for DatabaseEntityView
source§fn eq(&self, other: &DatabaseEntityView) -> bool
fn eq(&self, other: &DatabaseEntityView) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DatabaseEntityView
impl PartialOrd for DatabaseEntityView
source§fn partial_cmp(&self, other: &DatabaseEntityView) -> Option<Ordering>
fn partial_cmp(&self, other: &DatabaseEntityView) -> 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 DatabaseEntityView
impl TryFrom<i32> for DatabaseEntityView
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<DatabaseEntityView, UnknownEnumValue>
fn try_from(value: i32) -> Result<DatabaseEntityView, UnknownEnumValue>
impl Copy for DatabaseEntityView
impl Eq for DatabaseEntityView
impl StructuralPartialEq for DatabaseEntityView
Auto Trait Implementations§
impl Freeze for DatabaseEntityView
impl RefUnwindSafe for DatabaseEntityView
impl Send for DatabaseEntityView
impl Sync for DatabaseEntityView
impl Unpin for DatabaseEntityView
impl UnwindSafe for DatabaseEntityView
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