[][src]Struct safe_authenticator::apps::RegisteredApp

pub struct RegisteredApp {
    pub app_info: AppExchangeInfo,
    pub containers: HashMap<String, ContainerPermissions>,
    pub app_perms: AppPermissions,
}

Represents an application that is registered with the Authenticator.

Fields

app_info: AppExchangeInfo

Unique application identifier.

containers: HashMap<String, ContainerPermissions>

List of containers that this application has access to. Maps from the container name to the set of permissions.

app_perms: AppPermissions

Permissions allowed for the app

Methods

impl RegisteredApp[src]

pub fn into_repr_c(self) -> Result<FfiRegisteredApp, IpcError>[src]

Construct FFI wrapper for the native Rust object, consuming self.

Trait Implementations

impl Debug for RegisteredApp[src]

impl ReprC for RegisteredApp[src]

type C = *const RegisteredApp

C representation of the type.

type Error = IpcError

Error type.

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