Trait otter_api_tests::PlayerAccessSpec[][src]

pub trait PlayerAccessSpec: Debug + Sync + Send + Serialize + Deserialize {
    fn deliver(
        &self,
        ag: &AccountsGuard,
        g: &Instance,
        gpl: &GPlayer,
        ipl: &IPlayer,
        token: AccessTokenInfo
    ) -> Result<AccessTokenReport, TokenDeliveryError>; fn override_token(&self) -> Option<&RawToken> { ... }
fn check_spec_permission(
        &self,
        Option<Authorisation<Global>>
    ) -> Result<(), MgmtError> { ... }
fn describe_html(&self) -> Html { ... } }

Required methods

Provided methods

Trait Implementations

Serialize this value into the given Serde serializer. Read more

Serialize this value into the given Serde serializer. Read more

Serialize this value into the given Serde serializer. Read more

Serialize this value into the given Serde serializer. Read more

Implementors