pub struct ExactlyOne;Expand description
The query always returns one row, so .get() returns it as R.
Trait Implementations§
Source§impl Clone for ExactlyOne
impl Clone for ExactlyOne
impl Copy for ExactlyOne
Source§impl Debug for ExactlyOne
impl Debug for ExactlyOne
Source§impl Default for ExactlyOne
impl Default for ExactlyOne
Auto Trait Implementations§
impl Freeze for ExactlyOne
impl RefUnwindSafe for ExactlyOne
impl Send for ExactlyOne
impl Sync for ExactlyOne
impl Unpin for ExactlyOne
impl UnsafeUnpin for ExactlyOne
impl UnwindSafe for ExactlyOne
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