Struct cdp::indexed_db::Key
[−]
[src]
pub struct Key<'a> {
pub ty: KeyType,
pub number: Option<f64>,
pub string: Option<Cow<'a, str>>,
pub date: Option<f64>,
pub array: Option<Vec<Box<Key<'a>>>>,
}[Experimental] Key.
Fields
ty: KeyType
Key type.
number: Option<f64>
Number value.
string: Option<Cow<'a, str>>
String value.
date: Option<f64>
Date value.
array: Option<Vec<Box<Key<'a>>>>
Array value.
Trait Implementations
impl<'a> Clone for Key<'a>[src]
fn clone(&self) -> Key<'a>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more