Struct chromiumoxide::cdp::browser_protocol::storage::UsageForTypeBuilder
source · pub struct UsageForTypeBuilder { /* private fields */ }
Implementations§
source§impl UsageForTypeBuilder
impl UsageForTypeBuilder
pub fn storage_type( self, storage_type: impl Into<StorageType> ) -> UsageForTypeBuilder
pub fn usage(self, usage: impl Into<f64>) -> UsageForTypeBuilder
pub fn build(self) -> Result<UsageForType, String>
Trait Implementations§
source§impl Clone for UsageForTypeBuilder
impl Clone for UsageForTypeBuilder
source§fn clone(&self) -> UsageForTypeBuilder
fn clone(&self) -> UsageForTypeBuilder
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 UsageForTypeBuilder
impl Default for UsageForTypeBuilder
source§fn default() -> UsageForTypeBuilder
fn default() -> UsageForTypeBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UsageForTypeBuilder
impl RefUnwindSafe for UsageForTypeBuilder
impl Send for UsageForTypeBuilder
impl Sync for UsageForTypeBuilder
impl Unpin for UsageForTypeBuilder
impl UnwindSafe for UsageForTypeBuilder
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