Enum dropbox_sdk::file_properties::ModifyTemplateError [−][src]
This is supported on crate feature
dbx_file_properties
only.Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
TemplateNotFound(TemplateId)
Template does not exist for the given identifier.
You do not have permission to modify this template.
A property field key with that name already exists in the template.
There are too many properties in the changed template. The maximum number of properties per template is 32.
There are too many templates for the team.
The template name, description or one or more of the property field keys is too large.
Catch-all used for unrecognized values returned from the server. Encountering this value typically indicates that this SDK version is out of date.
Trait Implementations
impl Clone for ModifyTemplateError
[src]
fn clone(&self) -> ModifyTemplateError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ModifyTemplateError
[src]
impl<'de> Deserialize<'de> for ModifyTemplateError
[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]
impl Display for ModifyTemplateError
[src]
impl Error for ModifyTemplateError
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl PartialEq<ModifyTemplateError> for ModifyTemplateError
[src]
fn eq(&self, other: &ModifyTemplateError) -> bool
[src]
fn ne(&self, other: &ModifyTemplateError) -> bool
[src]
impl Serialize for ModifyTemplateError
[src]
impl StructuralPartialEq for ModifyTemplateError
[src]
Auto Trait Implementations
impl RefUnwindSafe for ModifyTemplateError
impl Send for ModifyTemplateError
impl Sync for ModifyTemplateError
impl Unpin for ModifyTemplateError
impl UnwindSafe for ModifyTemplateError
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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,