pub struct GetMetadataBuilder { /* private fields */ }Expand description
Builder for GetMetadata.
Implementations§
Source§impl GetMetadataBuilder
impl GetMetadataBuilder
Sourcepub fn security_origin<VALUE: Into<String>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn security_origin<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin.
Sourcepub fn storage_key<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn storage_key<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Storage key.
Sourcepub fn storage_bucket<VALUE: Into<StorageBucket>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn storage_bucket<VALUE: Into<StorageBucket>>( &mut self, value: VALUE, ) -> &mut Self
Storage bucket. If not specified, it uses the default bucket.
Sourcepub fn database_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn database_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Database name.
Sourcepub fn object_store_name<VALUE: Into<String>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn object_store_name<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
Object store name.
Sourcepub fn build(&self) -> Result<GetMetadata, GetMetadataBuilderError>
pub fn build(&self) -> Result<GetMetadata, GetMetadataBuilderError>
Trait Implementations§
Source§impl Clone for GetMetadataBuilder
impl Clone for GetMetadataBuilder
Source§fn clone(&self) -> GetMetadataBuilder
fn clone(&self) -> GetMetadataBuilder
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 moreAuto Trait Implementations§
impl Freeze for GetMetadataBuilder
impl RefUnwindSafe for GetMetadataBuilder
impl Send for GetMetadataBuilder
impl Sync for GetMetadataBuilder
impl Unpin for GetMetadataBuilder
impl UnsafeUnpin for GetMetadataBuilder
impl UnwindSafe for GetMetadataBuilder
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