[][src]Struct faunadb::expr::InstancePermission

pub struct InstancePermission<'a> { /* fields omitted */ }

An instance also has permissions, which are applied in addition to permissions defined on its class.

See the docs

Methods

impl<'a> InstancePermission<'a>[src]

pub fn read(&mut self, level: Level<'a>) -> &mut Self[src]

Reading this instance.

pub fn write(&mut self, level: Level<'a>) -> &mut Self[src]

Writing to this instance.

Trait Implementations

impl<'a> Default for InstancePermission<'a>[src]

impl<'a> Clone for InstancePermission<'a>[src]

impl<'a> Debug for InstancePermission<'a>[src]

impl<'a> Serialize for InstancePermission<'a>[src]

Auto Trait Implementations

impl<'a> Send for InstancePermission<'a>

impl<'a> Unpin for InstancePermission<'a>

impl<'a> Sync for InstancePermission<'a>

impl<'a> UnwindSafe for InstancePermission<'a>

impl<'a> RefUnwindSafe for InstancePermission<'a>

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T