[][src]Struct mongodb_cwal::coll::results::DeleteResult

pub struct DeleteResult {
    pub acknowledged: bool,
    pub deleted_count: i32,
    pub write_exception: Option<WriteException>,
}

Results for a deletion operation.

Fields

acknowledged: booldeleted_count: i32write_exception: Option<WriteException>

Methods

impl DeleteResult[src]

pub fn new(doc: Document, exception: Option<WriteException>) -> DeleteResult[src]

Extracts server reply information into a result.

pub fn with_bulk_result(result: BulkDeleteResult) -> DeleteResult[src]

Trait Implementations

impl Clone for DeleteResult[src]

impl Debug for DeleteResult[src]

impl PartialEq<DeleteResult> for DeleteResult[src]

impl StructuralPartialEq for DeleteResult[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> Same<T> for T

type Output = T

Should always be Self

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>,