Struct safe_app::ipc::resp::AuthGranted [−][src]
pub struct AuthGranted {
pub app_keys: AppKeys,
pub bootstrap_config: Config,
pub access_container_info: AccessContInfo,
pub access_container_entry: HashMap<String, (MDataInfo, BTreeSet<Permission>), RandomState>,
}It represents the authentication response.
Fields
app_keys: AppKeys
The access keys.
bootstrap_config: Config
The crust config. Useful to reuse bootstrap nodes and speed up access.
access_container_info: AccessContInfo
Access container info
access_container_entry: HashMap<String, (MDataInfo, BTreeSet<Permission>), RandomState>
Access container entry
Methods
impl AuthGranted[src]
impl AuthGrantedpub fn into_repr_c(self) -> Result<AuthGranted, IpcError>[src]
pub fn into_repr_c(self) -> Result<AuthGranted, IpcError>Consumes the object and returns the wrapped raw pointer
You're now responsible for freeing this memory once you're done.
Trait Implementations
impl<'de> Deserialize<'de> for AuthGranted[src]
impl<'de> Deserialize<'de> for AuthGrantedfn deserialize<__D>(
__deserializer: __D
) -> Result<AuthGranted, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<AuthGranted, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
impl Clone for AuthGranted[src]
impl Clone for AuthGrantedfn clone(&self) -> AuthGranted[src]
fn clone(&self) -> AuthGrantedReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl ReprC for AuthGranted[src]
impl ReprC for AuthGrantedtype C = *const AuthGranted
C representation of the type
type Error = IpcError
Error type
unsafe fn clone_from_repr_c(
repr_c: <AuthGranted as ReprC>::C
) -> Result<AuthGranted, <AuthGranted as ReprC>::Error>[src]
unsafe fn clone_from_repr_c(
repr_c: <AuthGranted as ReprC>::C
) -> Result<AuthGranted, <AuthGranted as ReprC>::Error>Converts from a raw type into an owned type by cloning data
impl Debug for AuthGranted[src]
impl Debug for AuthGrantedfn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Eq for AuthGranted[src]
impl Eq for AuthGrantedimpl PartialEq<AuthGranted> for AuthGranted[src]
impl PartialEq<AuthGranted> for AuthGrantedfn eq(&self, other: &AuthGranted) -> bool[src]
fn eq(&self, other: &AuthGranted) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &AuthGranted) -> bool[src]
fn ne(&self, other: &AuthGranted) -> boolThis method tests for !=.
impl Serialize for AuthGranted[src]
impl Serialize for AuthGrantedfn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer, [src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer, Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl Send for AuthGranted
impl Send for AuthGrantedimpl Sync for AuthGranted
impl Sync for AuthGranted