pub struct BucketFileSystemLocatorBuilder { /* private fields */ }Expand description
Builder for BucketFileSystemLocator.
Implementations§
Source§impl BucketFileSystemLocatorBuilder
impl BucketFileSystemLocatorBuilder
Sourcepub fn storage_key<VALUE: Into<SerializedStorageKey>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn storage_key<VALUE: Into<SerializedStorageKey>>( &mut self, value: VALUE, ) -> &mut Self
Storage key
Sourcepub fn bucket_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn bucket_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Bucket name. Not passing a bucketName will retrieve the default Bucket. (https://developer.mozilla.org/en-US/docs/Web/API/Storage_API#storage_buckets)
Sourcepub fn path_components<VALUE: Into<Vec<String>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn path_components<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
Path to the directory using each path component as an array item.
Sourcepub fn build(
&self,
) -> Result<BucketFileSystemLocator, BucketFileSystemLocatorBuilderError>
pub fn build( &self, ) -> Result<BucketFileSystemLocator, BucketFileSystemLocatorBuilderError>
Trait Implementations§
Source§impl Clone for BucketFileSystemLocatorBuilder
impl Clone for BucketFileSystemLocatorBuilder
Source§fn clone(&self) -> BucketFileSystemLocatorBuilder
fn clone(&self) -> BucketFileSystemLocatorBuilder
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 BucketFileSystemLocatorBuilder
impl RefUnwindSafe for BucketFileSystemLocatorBuilder
impl Send for BucketFileSystemLocatorBuilder
impl Sync for BucketFileSystemLocatorBuilder
impl Unpin for BucketFileSystemLocatorBuilder
impl UnsafeUnpin for BucketFileSystemLocatorBuilder
impl UnwindSafe for BucketFileSystemLocatorBuilder
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