Be aware: Foundation will NEVER ask for your seed words, device PIN, or call you unexpectedly. If anyone does, it's a scam.

Struct

GetPermissionRequestInfo

pub struct GetPermissionRequestInfo {
    pub sender_app_id: [u8; 16],
    pub server_sid: [u32; 4],
    pub message_id: usize,
    pub locale: String,
}

Fields

sender_app_id: [u8; 16]

The requesting app’s id, captured by the kernel when the request was parked, so it is stable even if the sender exits and its pid is recycled before the broker asks.

server_sid: [u32; 4]

The target server’s SID as captured by the kernel when the request was parked; it identifies the exact server even when one process hosts several.

message_id: usizelocale: String

Trait Implementations

impl Archive for GetPermissionRequestInfo
where [u8; 16]: Archive, [u32; 4]: Archive, usize: Archive, String: Archive,

const COPY_OPTIMIZATION: CopyOptimization<Self>

An optimization flag that allows the bytes of this type to be copied directly to a writer instead of calling serialize. Read more

type Archived = ArchivedGetPermissionRequestInfo

The archived representation of this type. Read more

type Resolver = GetPermissionRequestInfoResolver

The resolver for this type. It must contain all the additional information from serializing needed to make the archived type from the normal type.

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and writes it to the given output. Read more

impl BlockingArchive for GetPermissionRequestInfo

type Response = PermissionRequestInfoResult

response type for this message

impl Clone for GetPermissionRequestInfo

fn clone(&self) -> GetPermissionRequestInfo

Returns a duplicate of the value. Read more
1.0.0

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

impl Debug for GetPermissionRequestInfo

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

impl<__D: Fallible + ?Sized> Deserialize<GetPermissionRequestInfo, __D> for Archived<GetPermissionRequestInfo>
where [u8; 16]: Archive, <[u8; 16] as Archive>::Archived: Deserialize<[u8; 16], __D>, [u32; 4]: Archive, <[u32; 4] as Archive>::Archived: Deserialize<[u32; 4], __D>, usize: Archive, <usize as Archive>::Archived: Deserialize<usize, __D>, String: Archive, <String as Archive>::Archived: Deserialize<String, __D>,

fn deserialize( &self, deserializer: &mut __D, ) -> Result<GetPermissionRequestInfo, <__D as Fallible>::Error>

Deserializes using the given deserializer

impl MessageId for GetPermissionRequestInfo

const ID: MessageId = 15usize

unique message identifier

const SERVER: &'static str = "os/app-manager"

target server name

impl<__S: Fallible + ?Sized> Serialize<__S> for GetPermissionRequestInfo
where [u8; 16]: Serialize<__S>, [u32; 4]: Serialize<__S>, usize: Serialize<__S>, String: Serialize<__S>,

fn serialize( &self, serializer: &mut __S, ) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can create the archived type.

Auto Trait Implementations

impl Freeze for GetPermissionRequestInfo

impl RefUnwindSafe for GetPermissionRequestInfo

impl Send for GetPermissionRequestInfo

impl Sync for GetPermissionRequestInfo

impl Unpin for GetPermissionRequestInfo

impl UnsafeUnpin for GetPermissionRequestInfo

impl UnwindSafe for GetPermissionRequestInfo