pub struct FieldPermissions<'a>(pub &'a Permissions);Expand description
Renders the three clauses a field can carry, omitting delete.
DEFINE FIELD rejects a FOR delete clause and the catalog does not track
one, so a field’s delete is a placeholder that must never reach the
output. Tables render through Permissions itself and must emit all four:
an action left out of a table’s PERMISSIONS FOR … list reparses as NONE,
so dropping a clause revokes it.
Tuple Fields§
§0: &'a PermissionsTrait Implementations§
Source§impl ToSql for FieldPermissions<'_>
impl ToSql for FieldPermissions<'_>
Auto Trait Implementations§
impl<'a> Freeze for FieldPermissions<'a>
impl<'a> RefUnwindSafe for FieldPermissions<'a>
impl<'a> Send for FieldPermissions<'a>
impl<'a> Sync for FieldPermissions<'a>
impl<'a> Unpin for FieldPermissions<'a>
impl<'a> UnsafeUnpin for FieldPermissions<'a>
impl<'a> UnwindSafe for FieldPermissions<'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