pub struct Owned<'a> {
pub column: &'a str,
pub subject: &'a Value,
}Expand description
Rows belonging to one subject: the condition an owner table’s
access level puts on every read.
A parameter rather than something the caller applies afterwards. The
condition joins the same WHERE as the key and the cursor, because a
filter applied to rows already fetched turns a LIMIT 20 into a page
of however many survived — and the shortfall is a count of the rows
the caller was not allowed to see.
Fields§
§column: &'a strThe table’s subject column.
subject: &'a ValueThe caller’s own id.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Owned<'a>
impl<'a> RefUnwindSafe for Owned<'a>
impl<'a> Send for Owned<'a>
impl<'a> Sync for Owned<'a>
impl<'a> Unpin for Owned<'a>
impl<'a> UnsafeUnpin for Owned<'a>
impl<'a> UnwindSafe for Owned<'a>
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