pub struct RequestCacheNamesParamsBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> RequestCacheNamesParamsBuilder<'a>
impl<'a> RequestCacheNamesParamsBuilder<'a>
Sourcepub fn security_origin(self, security_origin: impl Into<Cow<'a, str>>) -> Self
pub fn security_origin(self, security_origin: impl Into<Cow<'a, str>>) -> Self
At least and at most one of securityOrigin, storageKey, storageBucket must be specified. Security origin.
Sourcepub fn storage_key(self, storage_key: impl Into<Cow<'a, str>>) -> Self
pub fn storage_key(self, storage_key: impl Into<Cow<'a, str>>) -> Self
Storage key.
Sourcepub fn storage_bucket(self, storage_bucket: StorageBucket<'a>) -> Self
pub fn storage_bucket(self, storage_bucket: StorageBucket<'a>) -> Self
Storage bucket. If not specified, it uses the default bucket.
pub fn build(self) -> RequestCacheNamesParams<'a>
Trait Implementations§
Source§impl<'a> Default for RequestCacheNamesParamsBuilder<'a>
impl<'a> Default for RequestCacheNamesParamsBuilder<'a>
Source§fn default() -> RequestCacheNamesParamsBuilder<'a>
fn default() -> RequestCacheNamesParamsBuilder<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for RequestCacheNamesParamsBuilder<'a>
impl<'a> RefUnwindSafe for RequestCacheNamesParamsBuilder<'a>
impl<'a> Send for RequestCacheNamesParamsBuilder<'a>
impl<'a> Sync for RequestCacheNamesParamsBuilder<'a>
impl<'a> Unpin for RequestCacheNamesParamsBuilder<'a>
impl<'a> UnsafeUnpin for RequestCacheNamesParamsBuilder<'a>
impl<'a> UnwindSafe for RequestCacheNamesParamsBuilder<'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