pub fn as_i32(&self) -> Option<i32> {
        match self {
            RawBson::Int32(v) => Some(*v),
            _ => None,
        }
    }
/// Gets the wrapped `i32` value or returns `None` if the wrapped value isn't a BSON
/// Int32.
Gets the wrapped `i32` value or returns `None` if the wrapped value isn't a BSON
Int32.
Gets the wrapped ` i32 ` value or returns ` None ` if the wrapped value isn ' t a BSON Int32 .
pub fn as_i32(&self) -> Option<i32> {
        match self {
            RawBson::Int32(v) => Some(*v),
            _ => None,
        }
    }
pub fn as_i32 ( & self ) -> Option < i32 > { match self { RawBson :: Int32 ( v ) => Some ( * v ) , _ => None , } }
Gets the wrapped `i32` value or returns `None` if the wrapped value isn't a BSON
Int32.
Gets the wrapped ` i32 ` value or returns ` None ` if the wrapped value isn ' t a BSON Int32 .
&self
&self