Enum dropbox_sdk::paper::PaperDocPermissionLevel
source · [−]#[non_exhaustive]
pub enum PaperDocPermissionLevel {
Edit,
ViewAndComment,
Other,
}Available on crate feature
dbx_paper only.Variants (Non-exhaustive)
This enum is marked as 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.
Edit
User will be granted edit permissions.
ViewAndComment
User will be granted view and comment permissions.
Other
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
sourceimpl Clone for PaperDocPermissionLevel
impl Clone for PaperDocPermissionLevel
sourcefn clone(&self) -> PaperDocPermissionLevel
fn clone(&self) -> PaperDocPermissionLevel
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for PaperDocPermissionLevel
impl Debug for PaperDocPermissionLevel
sourceimpl<'de> Deserialize<'de> for PaperDocPermissionLevel
impl<'de> Deserialize<'de> for PaperDocPermissionLevel
sourcefn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for PaperDocPermissionLevel
impl Serialize for PaperDocPermissionLevel
impl Eq for PaperDocPermissionLevel
impl StructuralEq for PaperDocPermissionLevel
impl StructuralPartialEq for PaperDocPermissionLevel
Auto Trait Implementations
impl RefUnwindSafe for PaperDocPermissionLevel
impl Send for PaperDocPermissionLevel
impl Sync for PaperDocPermissionLevel
impl Unpin for PaperDocPermissionLevel
impl UnwindSafe for PaperDocPermissionLevel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more