fn is_success(&self) -> bool {
        match self.ok() {
            Some(b) => bson_util::get_int(b) == Some(1),
            None => false,
        }
    }
/// Whether the command succeeeded or not (i.e. if this response is ok: 1).
Whether the command succeeeded or not .
Whether the command succeeeded or not .
fn is_success(&self) -> bool {
        match self.ok() {
            Some(b) => bson_util::get_int(b) == Some(1),
            None => false,
        }
    }
fn is_success ( & self ) -> bool { match self . ok ( ) { Some ( b ) => bson_util :: get_int ( b ) == Some ( 1 ) , None => false , } }
Whether the command succeeeded or not (i.e.
Whether the command succeeeded or not ( i . e .
&self
&self