[][src]Struct nextcloud_passwords_client::share::CreateShare

pub struct CreateShare { /* fields omitted */ }

Implementations

impl CreateShare[src]

pub fn new(password_id: Uuid, receiver_id: Uuid) -> Self[src]

pub fn share_type(self, ty: String) -> Self[src]

The type of the share

pub fn expires(self, expires: Option<u64>) -> Self[src]

Unix timestamp when the share will expire

pub fn editable(self, editable: bool) -> Self[src]

Whether or not the receiver can edit the password

pub fn shareable(self, shareable: bool) -> Self[src]

Whether or not the receiver can share the password

Trait Implementations

impl Debug for CreateShare[src]

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

impl Serialize for CreateShare[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, 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.