pub enum AuthorizationFailure {
NotOwner {
owner: MemberId,
},
InvalidForeignKeyEffect,
}Expand description
Why a row change lacked permission (§9.6).
Variants§
NotOwner
The row belongs to this member, and the change was not an exact foreign-key effect of an authorized change.
InvalidForeignKeyEffect
A derived change differs from the schema’s effect of authorized direct changes in its write, or has no authorized root.
Trait Implementations§
Source§impl Clone for AuthorizationFailure
impl Clone for AuthorizationFailure
Source§fn clone(&self) -> AuthorizationFailure
fn clone(&self) -> AuthorizationFailure
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuthorizationFailure
impl Debug for AuthorizationFailure
Source§impl PartialEq for AuthorizationFailure
impl PartialEq for AuthorizationFailure
impl Eq for AuthorizationFailure
impl StructuralPartialEq for AuthorizationFailure
Auto Trait Implementations§
impl Freeze for AuthorizationFailure
impl RefUnwindSafe for AuthorizationFailure
impl Send for AuthorizationFailure
impl Sync for AuthorizationFailure
impl Unpin for AuthorizationFailure
impl UnsafeUnpin for AuthorizationFailure
impl UnwindSafe for AuthorizationFailure
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more