[][src]Struct etebase::SignedInvitation

pub struct SignedInvitation { /* fields omitted */ }

A signed invitation to join a collection

Implementations

impl SignedInvitation[src]

pub fn uid(&self) -> &str[src]

The uid of the collection

pub fn username(&self) -> &str[src]

The username this invitation is for

pub fn collection(&self) -> &str[src]

The collection uid of the crate::Collection this invitation is for

pub fn access_level(&self) -> CollectionAccessLevel[src]

The access level offered in this invitation

pub fn from_username(&self) -> Option<&str>[src]

The username this invitation is form

pub fn from_pubkey(&self) -> &[u8][src]

The public key of the inviting user

Trait Implementations

impl Clone for SignedInvitation[src]

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

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

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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.