pub struct ClearObjectStoreBuilder { /* private fields */ }Expand description
Builder for ClearObjectStore.
Implementations§
Source§impl ClearObjectStoreBuilder
impl ClearObjectStoreBuilder
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<ClearObjectStore, ClearObjectStoreBuilderError>
pub fn build(&self) -> Result<ClearObjectStore, ClearObjectStoreBuilderError>
Trait Implementations§
Source§impl Clone for ClearObjectStoreBuilder
impl Clone for ClearObjectStoreBuilder
Source§fn clone(&self) -> ClearObjectStoreBuilder
fn clone(&self) -> ClearObjectStoreBuilder
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 ClearObjectStoreBuilder
impl RefUnwindSafe for ClearObjectStoreBuilder
impl Send for ClearObjectStoreBuilder
impl Sync for ClearObjectStoreBuilder
impl Unpin for ClearObjectStoreBuilder
impl UnsafeUnpin for ClearObjectStoreBuilder
impl UnwindSafe for ClearObjectStoreBuilder
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