Enum dropbox_sdk::file_requests::GracePeriod
source · [−]#[non_exhaustive]
pub enum GracePeriod {
OneDay,
TwoDays,
SevenDays,
ThirtyDays,
Always,
Other,
}Available on crate feature
dbx_file_requests 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.
OneDay
TwoDays
SevenDays
ThirtyDays
Always
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 GracePeriod
impl Clone for GracePeriod
sourcefn clone(&self) -> GracePeriod
fn clone(&self) -> GracePeriod
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 GracePeriod
impl Debug for GracePeriod
sourceimpl<'de> Deserialize<'de> for GracePeriod
impl<'de> Deserialize<'de> for GracePeriod
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 PartialEq<GracePeriod> for GracePeriod
impl PartialEq<GracePeriod> for GracePeriod
sourceimpl Serialize for GracePeriod
impl Serialize for GracePeriod
impl Eq for GracePeriod
impl StructuralEq for GracePeriod
impl StructuralPartialEq for GracePeriod
Auto Trait Implementations
impl RefUnwindSafe for GracePeriod
impl Send for GracePeriod
impl Sync for GracePeriod
impl Unpin for GracePeriod
impl UnwindSafe for GracePeriod
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