pub struct Object<S = Root> { /* private fields */ }Expand description
An object sub-document — a group or a to-one (belongs_to/has_one) join. Objects are
flattened, so their sub-fields are queried by their own scope-S
dotted-path handles directly (Account::tier()); this handle is for the
object itself. S is the enclosing scope (Root at the top level).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Object<S>
impl<S> RefUnwindSafe for Object<S>
impl<S> Send for Object<S>
impl<S> Sync for Object<S>
impl<S> Unpin for Object<S>
impl<S> UnsafeUnpin for Object<S>
impl<S> UnwindSafe for Object<S>
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