[][src]Struct rawbson::elem::Element

pub struct Element<'a> { /* fields omitted */ }

Implementations

impl<'a> Element<'a>[src]

pub fn element_type(self) -> ElementType[src]

pub fn as_bytes(self) -> &'a [u8][src]

pub fn as_f64(self) -> RawResult<f64>[src]

pub fn as_str(self) -> RawResult<&'a str>[src]

pub fn as_document(self) -> RawResult<&'a Doc>[src]

pub fn as_array(self) -> RawResult<&'a Array>[src]

pub fn as_binary(self) -> RawResult<RawBsonBinary<'a>>[src]

pub fn as_object_id(self) -> RawResult<ObjectId>[src]

pub fn as_bool(self) -> RawResult<bool>[src]

pub fn as_datetime(self) -> RawResult<DateTime<Utc>>[src]

pub fn as_null(self) -> RawResult<()>[src]

pub fn as_regex(self) -> RawResult<RawBsonRegex<'a>>[src]

pub fn as_javascript(self) -> RawResult<&'a str>[src]

pub fn as_symbol(self) -> RawResult<&'a str>[src]

pub fn as_javascript_with_scope(self) -> RawResult<(&'a str, &'a Doc)>[src]

pub fn as_i32(self) -> RawResult<i32>[src]

pub fn as_timestamp(self) -> RawResult<RawBsonTimestamp<'a>>[src]

pub fn as_i64(self) -> RawResult<i64>[src]

pub fn as_decimal128(self) -> RawResult<Decimal128>[src]

Trait Implementations

impl<'a> Clone for Element<'a>[src]

impl<'a> Copy for Element<'a>[src]

impl<'a> Debug for Element<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Element<'a>[src]

impl<'a> Send for Element<'a>[src]

impl<'a> Sync for Element<'a>[src]

impl<'a> Unpin for Element<'a>[src]

impl<'a> UnwindSafe for Element<'a>[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,