[][src]Struct safe_core::ffi::ipc::req::AuthReq

#[repr(C)]pub struct AuthReq {
    pub app: AppExchangeInfo,
    pub app_container: bool,
    pub app_permission_transfer_coins: bool,
    pub app_permission_perform_mutations: bool,
    pub app_permission_get_balance: bool,
    pub containers: *const ContainerPermissions,
    pub containers_len: usize,
}

Represents an authorisation request.

Fields

app: AppExchangeInfo

The application identifier for this request.

app_container: bool

true if the app wants dedicated container for itself. false otherwise.

app_permission_transfer_coins: bool

App has permission to transfer coins on behalf of the user.

app_permission_perform_mutations: bool

App has permission to perform mutations on behalf of the user.

app_permission_get_balance: bool

App has permission to read balance on behalf of the user.

containers: *const ContainerPermissions

Array of ContainerPermissions.

containers_len: usize

Size of container permissions array.

Trait Implementations

impl Drop for AuthReq[src]

Auto Trait Implementations

impl RefUnwindSafe for AuthReq

impl !Send for AuthReq

impl !Sync for AuthReq

impl Unpin for AuthReq

impl UnwindSafe for AuthReq

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