Struct chrome_remote_interface_model::indexed_db::KeyBuilder[][src]

pub struct KeyBuilder { /* fields omitted */ }

Implementations

impl KeyBuilder[src]

pub fn type(&mut self, v: KeyType) -> &mut Self[src]

Key type.

pub fn number(&mut self, v: f64) -> &mut Self[src]

Number value.

pub fn string(&mut self, v: String) -> &mut Self[src]

String value.

pub fn date(&mut self, v: f64) -> &mut Self[src]

Date value.

pub fn array(&mut self, v: Vec<Key>) -> &mut Self[src]

Array value.

pub fn build(&mut self) -> Result<Key, &'static str>[src]

Trait Implementations

impl Clone for KeyBuilder[src]

impl Debug for KeyBuilder[src]

impl Default for KeyBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.