[][src]Struct safe_app::ipc::req::AppExchangeInfo

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]

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

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

Trait Implementations

impl Clone for AppExchangeInfo[src]

impl Debug for AppExchangeInfo[src]

impl<'de> Deserialize<'de> for AppExchangeInfo[src]

impl Eq for AppExchangeInfo[src]

impl PartialEq<AppExchangeInfo> 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(
    repr_c: <AppExchangeInfo as ReprC>::C
) -> Result<AppExchangeInfo, <AppExchangeInfo as ReprC>::Error>
[src]

Constructs the object from a raw pointer.

After calling this function, the raw pointer is owned by the resulting object.

impl Serialize for AppExchangeInfo[src]

impl StructuralEq for AppExchangeInfo[src]

impl StructuralPartialEq for AppExchangeInfo[src]

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> CloneAny for T where
    T: Clone + Any

impl<T> DebugAny for T where
    T: Any + Debug

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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