Struct chromiumoxide::cdp::browser_protocol::indexed_db::KeyBuilder
source · pub struct KeyBuilder { /* private fields */ }
Implementations§
source§impl KeyBuilder
impl KeyBuilder
pub fn type(self, type: impl Into<KeyType>) -> KeyBuilder
pub fn number(self, number: impl Into<f64>) -> KeyBuilder
pub fn string(self, string: impl Into<String>) -> KeyBuilder
pub fn date(self, date: impl Into<f64>) -> KeyBuilder
pub fn array(self, array: impl Into<Key>) -> KeyBuilder
pub fn arrays<I, S>(self, arrays: I) -> KeyBuilder
pub fn build(self) -> Result<Key, String>
Trait Implementations§
source§impl Clone for KeyBuilder
impl Clone for KeyBuilder
source§fn clone(&self) -> KeyBuilder
fn clone(&self) -> KeyBuilder
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 KeyBuilder
impl Default for KeyBuilder
source§fn default() -> KeyBuilder
fn default() -> KeyBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for KeyBuilder
impl RefUnwindSafe for KeyBuilder
impl Send for KeyBuilder
impl Sync for KeyBuilder
impl Unpin for KeyBuilder
impl UnwindSafe for KeyBuilder
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