#[non_exhaustive]pub struct CompatibilityStatus {
pub hive_metastore: Option<Compatibility>,
pub bigquery: Option<Compatibility>,
/* private fields */
}Expand description
Provides compatibility information for various metadata stores.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.hive_metastore: Option<Compatibility>Output only. Whether this entity is compatible with Hive Metastore.
bigquery: Option<Compatibility>Output only. Whether this entity is compatible with BigQuery.
Implementations§
Source§impl CompatibilityStatus
impl CompatibilityStatus
pub fn new() -> Self
Sourcepub fn set_hive_metastore<T>(self, v: T) -> Selfwhere
T: Into<Compatibility>,
pub fn set_hive_metastore<T>(self, v: T) -> Selfwhere
T: Into<Compatibility>,
Sets the value of hive_metastore.
Sourcepub fn set_or_clear_hive_metastore<T>(self, v: Option<T>) -> Selfwhere
T: Into<Compatibility>,
pub fn set_or_clear_hive_metastore<T>(self, v: Option<T>) -> Selfwhere
T: Into<Compatibility>,
Sets or clears the value of hive_metastore.
Sourcepub fn set_bigquery<T>(self, v: T) -> Selfwhere
T: Into<Compatibility>,
pub fn set_bigquery<T>(self, v: T) -> Selfwhere
T: Into<Compatibility>,
Sets the value of bigquery.
Sourcepub fn set_or_clear_bigquery<T>(self, v: Option<T>) -> Selfwhere
T: Into<Compatibility>,
pub fn set_or_clear_bigquery<T>(self, v: Option<T>) -> Selfwhere
T: Into<Compatibility>,
Sets or clears the value of bigquery.
Trait Implementations§
Source§impl Clone for CompatibilityStatus
impl Clone for CompatibilityStatus
Source§fn clone(&self) -> CompatibilityStatus
fn clone(&self) -> CompatibilityStatus
Returns a duplicate 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 CompatibilityStatus
impl Debug for CompatibilityStatus
Source§impl Default for CompatibilityStatus
impl Default for CompatibilityStatus
Source§fn default() -> CompatibilityStatus
fn default() -> CompatibilityStatus
Returns the “default value” for a type. Read more
Source§impl Message for CompatibilityStatus
impl Message for CompatibilityStatus
Source§impl PartialEq for CompatibilityStatus
impl PartialEq for CompatibilityStatus
impl StructuralPartialEq for CompatibilityStatus
Auto Trait Implementations§
impl Freeze for CompatibilityStatus
impl RefUnwindSafe for CompatibilityStatus
impl Send for CompatibilityStatus
impl Sync for CompatibilityStatus
impl Unpin for CompatibilityStatus
impl UnwindSafe for CompatibilityStatus
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