Struct otter_api_tests::shapelib::AccessRecord[][src]

pub struct AccessRecord(_);

Record of acess for a player. Newtype prevents mutable access without invalidating old tokens and permissions check.

Implementations

impl AccessRecord[src]

pub fn new_unset() -> AccessRecord[src]

pub fn from_spec(
    spec: Box<dyn PlayerAccessSpec + 'static, Global>,
    superuser: Option<Authorisation<Global>>
) -> Result<AccessRecord, MgmtError>
[src]

Methods from Deref<Target = Arc<dyn PlayerAccessSpec + 'static>>

Trait Implementations

impl Debug for AccessRecord[src]

impl Deref for AccessRecord[src]

type Target = Arc<dyn PlayerAccessSpec + 'static>

The resulting type after dereferencing.

impl<'de> Deserialize<'de> for AccessRecord[src]

impl Serialize for AccessRecord[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Any + Send + Sync

impl<A> DynCastExt for A

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

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

impl<T> Serialize for T where
    T: Serialize + ?Sized
[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<V, T> VZip<V> for T where
    V: MultiLane<T>,