pub struct GetMetadataParams<'a> { /* private fields */ }Expand description
Gets metadata of an object store.
Implementations§
Source§impl<'a> GetMetadataParams<'a>
impl<'a> GetMetadataParams<'a>
Sourcepub fn builder(
database_name: impl Into<Cow<'a, str>>,
object_store_name: impl Into<Cow<'a, str>>,
) -> GetMetadataParamsBuilder<'a>
pub fn builder( database_name: impl Into<Cow<'a, str>>, object_store_name: impl Into<Cow<'a, str>>, ) -> GetMetadataParamsBuilder<'a>
Creates a builder for this type with the required parameters:
database_name: Database name.object_store_name: Object store name.
Sourcepub fn security_origin(&self) -> Option<&str>
pub fn security_origin(&self) -> Option<&str>
At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin.
Sourcepub fn storage_key(&self) -> Option<&str>
pub fn storage_key(&self) -> Option<&str>
Storage key.
Sourcepub fn storage_bucket(&self) -> Option<&StorageBucket<'a>>
pub fn storage_bucket(&self) -> Option<&StorageBucket<'a>>
Storage bucket. If not specified, it uses the default bucket.
Sourcepub fn database_name(&self) -> &str
pub fn database_name(&self) -> &str
Database name.
Sourcepub fn object_store_name(&self) -> &str
pub fn object_store_name(&self) -> &str
Object store name.
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for GetMetadataParams<'a>
impl<'a> CdpCommand<'a> for GetMetadataParams<'a>
Source§impl<'a> Clone for GetMetadataParams<'a>
impl<'a> Clone for GetMetadataParams<'a>
Source§fn clone(&self) -> GetMetadataParams<'a>
fn clone(&self) -> GetMetadataParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for GetMetadataParams<'a>
impl<'a> Debug for GetMetadataParams<'a>
Source§impl<'a> Default for GetMetadataParams<'a>
impl<'a> Default for GetMetadataParams<'a>
Source§fn default() -> GetMetadataParams<'a>
fn default() -> GetMetadataParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for GetMetadataParams<'a>
impl<'de, 'a> Deserialize<'de> for GetMetadataParams<'a>
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
Auto Trait Implementations§
impl<'a> Freeze for GetMetadataParams<'a>
impl<'a> RefUnwindSafe for GetMetadataParams<'a>
impl<'a> Send for GetMetadataParams<'a>
impl<'a> Sync for GetMetadataParams<'a>
impl<'a> Unpin for GetMetadataParams<'a>
impl<'a> UnsafeUnpin for GetMetadataParams<'a>
impl<'a> UnwindSafe for GetMetadataParams<'a>
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