[−][src]Struct etebase::SignedInvitation
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]
pub fn clone(&self) -> SignedInvitation
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for SignedInvitation
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for SignedInvitation
[src]
Auto Trait Implementations
impl RefUnwindSafe for SignedInvitation
[src]
impl Send for SignedInvitation
[src]
impl Sync for SignedInvitation
[src]
impl Unpin for SignedInvitation
[src]
impl UnwindSafe for SignedInvitation
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,