#[non_exhaustive]pub struct MetadataStore {
pub name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub encryption_spec: Option<EncryptionSpec>,
pub description: String,
pub state: Option<MetadataStoreState>,
pub dataplex_config: Option<DataplexConfig>,
/* private fields */
}Expand description
Instance of a metadata store. Contains a set of metadata that can be queried.
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.name: StringOutput only. The resource name of the MetadataStore instance.
create_time: Option<Timestamp>Output only. Timestamp when this MetadataStore was created.
update_time: Option<Timestamp>Output only. Timestamp when this MetadataStore was last updated.
encryption_spec: Option<EncryptionSpec>Customer-managed encryption key spec for a Metadata Store. If set, this Metadata Store and all sub-resources of this Metadata Store are secured using this key.
description: StringDescription of the MetadataStore.
state: Option<MetadataStoreState>Output only. State information of the MetadataStore.
dataplex_config: Option<DataplexConfig>Optional. Dataplex integration settings.
Implementations§
Source§impl MetadataStore
impl MetadataStore
pub fn new() -> Self
Sourcepub fn set_create_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
pub fn set_create_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
Sets the value of create_time.
Sourcepub fn set_update_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
pub fn set_update_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
Sets the value of update_time.
Sourcepub fn set_encryption_spec<T: Into<Option<EncryptionSpec>>>(self, v: T) -> Self
pub fn set_encryption_spec<T: Into<Option<EncryptionSpec>>>(self, v: T) -> Self
Sets the value of encryption_spec.
Sourcepub fn set_description<T: Into<String>>(self, v: T) -> Self
pub fn set_description<T: Into<String>>(self, v: T) -> Self
Sets the value of description.
Sourcepub fn set_state<T: Into<Option<MetadataStoreState>>>(self, v: T) -> Self
pub fn set_state<T: Into<Option<MetadataStoreState>>>(self, v: T) -> Self
Sets the value of state.
Sourcepub fn set_dataplex_config<T: Into<Option<DataplexConfig>>>(self, v: T) -> Self
pub fn set_dataplex_config<T: Into<Option<DataplexConfig>>>(self, v: T) -> Self
Sets the value of dataplex_config.
Trait Implementations§
Source§impl Clone for MetadataStore
impl Clone for MetadataStore
Source§fn clone(&self) -> MetadataStore
fn clone(&self) -> MetadataStore
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 MetadataStore
impl Debug for MetadataStore
Source§impl Default for MetadataStore
impl Default for MetadataStore
Source§fn default() -> MetadataStore
fn default() -> MetadataStore
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MetadataStorewhere
MetadataStore: Default,
impl<'de> Deserialize<'de> for MetadataStorewhere
MetadataStore: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for MetadataStore
impl Message for MetadataStore
Source§impl PartialEq for MetadataStore
impl PartialEq for MetadataStore
Source§impl Serialize for MetadataStore
impl Serialize for MetadataStore
impl StructuralPartialEq for MetadataStore
Auto Trait Implementations§
impl Freeze for MetadataStore
impl RefUnwindSafe for MetadataStore
impl Send for MetadataStore
impl Sync for MetadataStore
impl Unpin for MetadataStore
impl UnwindSafe for MetadataStore
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