Struct safe_core::ipc::req::AppExchangeInfo
[−]
[src]
pub struct AppExchangeInfo { pub id: String, pub scope: Option<String>, pub name: String, pub vendor: String, }
Represents an application ID in the process of asking permissions
Fields
id: String
The ID. It must be unique.
scope: Option<String>
Reserved by the frontend.
name: String
The application friendly-name.
vendor: String
The application provider/vendor (e.g. MaidSafe)
Methods
impl AppExchangeInfo
[src]
fn into_repr_c(self) -> Result<AppExchangeInfo, IpcError>
[src]
Consumes the object and returns the wrapped raw pointer.
You're now responsible for freeing this memory once you're done.
Trait Implementations
impl Clone for AppExchangeInfo
[src]
fn clone(&self) -> AppExchangeInfo
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for AppExchangeInfo
[src]
impl PartialEq for AppExchangeInfo
[src]
fn eq(&self, __arg_0: &AppExchangeInfo) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AppExchangeInfo) -> bool
[src]
This method tests for !=
.
impl Debug for AppExchangeInfo
[src]
impl ReprC for AppExchangeInfo
[src]
type C = *const AppExchangeInfo
C representation of the type
type Error = IpcError
Error type
unsafe fn clone_from_repr_c(
raw: *const AppExchangeInfo
) -> Result<Self, IpcError>
[src]
raw: *const AppExchangeInfo
) -> Result<Self, IpcError>
Constructs the object from a raw pointer.
After calling this function, the raw pointer is owned by the resulting object.