#[non_exhaustive]pub struct MetastoreConfig {
pub dataproc_metastore_service: String,
/* private fields */
}Expand description
Specifies a Metastore configuration.
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.dataproc_metastore_service: StringRequired. Resource name of an existing Dataproc Metastore service.
Example:
projects/[project_id]/locations/[dataproc_region]/services/[service-name]
Implementations§
Source§impl MetastoreConfig
impl MetastoreConfig
pub fn new() -> Self
Sourcepub fn set_dataproc_metastore_service<T: Into<String>>(self, v: T) -> Self
pub fn set_dataproc_metastore_service<T: Into<String>>(self, v: T) -> Self
Sets the value of dataproc_metastore_service.
Trait Implementations§
Source§impl Clone for MetastoreConfig
impl Clone for MetastoreConfig
Source§fn clone(&self) -> MetastoreConfig
fn clone(&self) -> MetastoreConfig
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 MetastoreConfig
impl Debug for MetastoreConfig
Source§impl Default for MetastoreConfig
impl Default for MetastoreConfig
Source§fn default() -> MetastoreConfig
fn default() -> MetastoreConfig
Returns the “default value” for a type. Read more
Source§impl Message for MetastoreConfig
impl Message for MetastoreConfig
Source§impl PartialEq for MetastoreConfig
impl PartialEq for MetastoreConfig
impl StructuralPartialEq for MetastoreConfig
Auto Trait Implementations§
impl Freeze for MetastoreConfig
impl RefUnwindSafe for MetastoreConfig
impl Send for MetastoreConfig
impl Sync for MetastoreConfig
impl Unpin for MetastoreConfig
impl UnwindSafe for MetastoreConfig
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