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