[][src]Struct safe_authenticator::config::AppInfo

pub struct AppInfo {
    pub info: AppExchangeInfo,
    pub keys: AppKeys,
    pub perms: AppPermissions,
}

App data stored in the authenticator configuration.

We need to store it even for revoked apps because we need to preserve the app keys. An app can encrypt data and create mutable data instances on its own, so we need to make sure that the app can access the encrypted data in future, even if the app was revoked at some point.

Fields

info: AppExchangeInfo

Application info (id, name, vendor, etc.)

keys: AppKeys

Application keys

perms: AppPermissions

Application permissions

Trait Implementations

impl Clone for AppInfo[src]

impl Debug for AppInfo[src]

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

impl Serialize for AppInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for AppInfo

impl Send for AppInfo

impl Sync for AppInfo

impl Unpin for AppInfo

impl UnwindSafe for AppInfo

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> CloneAny for T where
    T: Clone + Any

impl<T> DebugAny for T where
    T: Any + Debug

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

impl<T> From<T> 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> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized

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

type Owned = T

The resulting type after obtaining ownership.

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>,