Struct safe_api::AuthedApp[][src]

pub struct AuthedApp {
    pub id: String,
    pub name: String,
    pub vendor: String,
    pub app_permissions: AppPermissions,
    pub containers: HashMap<String, ContainerPermissions>,
    pub own_container: bool,
}

Fields

id: String

The App ID. It must be unique.

name: String

The application friendly-name.

vendor: String

The application provider/vendor (e.g. MaidSafe)

app_permissions: AppPermissions

Permissions granted, e.g. allowing to work with the user's coin balance.

containers: HashMap<String, ContainerPermissions>

Permissions granted to the app for named containers

own_container: bool

If the app was given a dedicated named container for itself

Trait Implementations

impl Debug for AuthedApp[src]

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

impl Serialize for AuthedApp[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> DebugAny for T where
    T: Any + Debug

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

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

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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> UnsafeAny for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,