[][src]Struct dropbox_sdk::sharing::InsufficientPlan

pub struct InsufficientPlan {
    pub message: String,
    pub upsell_url: Option<String>,
}
This is supported on crate feature dbx_sharing only.

Fields

message: String

A message to tell the user to upgrade in order to support expected action.

upsell_url: Option<String>

A URL to send the user to in order to obtain the account type they need, e.g. upgrading. Absent if there is no action the user can take to upgrade.

Implementations

impl InsufficientPlan[src]

pub fn new(message: String) -> Self[src]

pub fn with_upsell_url(self, value: Option<String>) -> Self[src]

Trait Implementations

impl Debug for InsufficientPlan[src]

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

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