pub struct QueryMailboxScope {
pub actor_id: String,
pub legacy_local: bool,
}Expand description
Caller-derived mailbox partition applied by compile_with_mailbox.
The compiler does not authenticate this scope. The runtime must derive it from its authorized caller, never from query text or query arguments.
Fields§
§actor_id: StringExact caller actor label; SQL always binds it as a text parameter.
legacy_local: boolWhether the anonymous, non-delegated local caller may see legacy rows.
Trait Implementations§
Source§impl Clone for QueryMailboxScope
impl Clone for QueryMailboxScope
Source§impl Debug for QueryMailboxScope
impl Debug for QueryMailboxScope
impl Eq for QueryMailboxScope
Source§impl PartialEq for QueryMailboxScope
impl PartialEq for QueryMailboxScope
impl StructuralPartialEq for QueryMailboxScope
Auto Trait Implementations§
impl Forget for QueryMailboxScope
impl Freeze for QueryMailboxScope
impl RefUnwindSafe for QueryMailboxScope
impl Send for QueryMailboxScope
impl Sync for QueryMailboxScope
impl Unpin for QueryMailboxScope
impl UnsafeUnpin for QueryMailboxScope
impl UnwindSafe for QueryMailboxScope
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