pub enum WritePermission {
Anyone,
Owner,
Admin,
}Expand description
Who may change a synced table’s rows directly (§9.6, E2). Shared-trigger targets count as direct changes; an exact foreign-key action of an authorized change may still reach any row.
Variants§
Anyone
Every member.
Owner
Only the member whose write originally created the row.
Admin
Only a member who is an admin in the state just before the write’s slot, whoever created the row.
Trait Implementations§
Source§impl Clone for WritePermission
impl Clone for WritePermission
impl Copy for WritePermission
Source§impl Debug for WritePermission
impl Debug for WritePermission
impl Eq for WritePermission
Source§impl PartialEq for WritePermission
impl PartialEq for WritePermission
impl StructuralPartialEq for WritePermission
Auto Trait Implementations§
impl Freeze for WritePermission
impl RefUnwindSafe for WritePermission
impl Send for WritePermission
impl Sync for WritePermission
impl Unpin for WritePermission
impl UnsafeUnpin for WritePermission
impl UnwindSafe for WritePermission
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
§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
Compare self to
key and return true if they are equal.