Struct chromiumoxide::cdp::browser_protocol::cache_storage::CacheBuilder
source · pub struct CacheBuilder { /* private fields */ }Implementations§
source§impl CacheBuilder
impl CacheBuilder
pub fn cache_id(self, cache_id: impl Into<CacheId>) -> CacheBuilder
pub fn security_origin(self, security_origin: impl Into<String>) -> CacheBuilder
pub fn cache_name(self, cache_name: impl Into<String>) -> CacheBuilder
pub fn build(self) -> Result<Cache, String>
Trait Implementations§
source§impl Clone for CacheBuilder
impl Clone for CacheBuilder
source§fn clone(&self) -> CacheBuilder
fn clone(&self) -> CacheBuilder
Returns a copy 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 moresource§impl Default for CacheBuilder
impl Default for CacheBuilder
source§fn default() -> CacheBuilder
fn default() -> CacheBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for CacheBuilder
impl Send for CacheBuilder
impl Sync for CacheBuilder
impl Unpin for CacheBuilder
impl UnwindSafe for CacheBuilder
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