pub fn as_symbol(&self) -> Option<&'_ str> {
        match self {
            RawBson::Symbol(v) => Some(v),
            _ => None,
        }
    }
/// Gets a reference to the symbol that's wrapped or returns `None` if the wrapped value isn't a
/// BSON Symbol.
Gets a reference to the symbol that's wrapped or returns `None` if the wrapped value isn't a
BSON Symbol.
Gets a reference to the symbol that ' s wrapped or returns ` None ` if the wrapped value isn ' t a BSON Symbol .
pub fn as_symbol(&self) -> Option<&'_ str> {
        match self {
            RawBson::Symbol(v) => Some(v),
            _ => None,
        }
    }
pub fn as_symbol ( & self ) -> Option < & ' _ str > { match self { RawBson :: Symbol ( v ) => Some ( v ) , _ => None , } }
Gets a reference to the symbol that's wrapped or returns `None` if the wrapped value isn't a
BSON Symbol.
Gets a reference to the symbol that ' s wrapped or returns ` None ` if the wrapped value isn ' t a BSON Symbol .
&self
&self