pub struct Bson;Expand description
BSON format marker.
Trait Implementations§
impl Copy for Bson
Source§impl Format for Bson
impl Format for Bson
Source§const MIME: &'static str = "application/bson"
const MIME: &'static str = "application/bson"
IANA-style MIME type, e.g.
"application/msgpack".Source§const EXTENSIONS: &'static [&'static str]
const EXTENSIONS: &'static [&'static str]
Common file extensions (without the leading dot).
Auto Trait Implementations§
impl Freeze for Bson
impl RefUnwindSafe for Bson
impl Send for Bson
impl Sync for Bson
impl Unpin for Bson
impl UnsafeUnpin for Bson
impl UnwindSafe for Bson
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more