Struct dropbox_sdk::team::DateRange
source · [−]Available on crate feature
dbx_team only.Expand description
Input arguments that can be provided for most reports.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.start_date: Option<Date>Optional starting date (inclusive). If start_date is None or too long ago, this field will be set to 6 months ago.
end_date: Option<Date>Optional ending date (exclusive).
Implementations
sourceimpl DateRange
impl DateRange
pub fn with_start_date(self, value: Date) -> Self
pub fn with_end_date(self, value: Date) -> Self
Trait Implementations
sourceimpl<'de> Deserialize<'de> for DateRange
impl<'de> Deserialize<'de> for DateRange
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
impl Eq for DateRange
impl StructuralEq for DateRange
impl StructuralPartialEq for DateRange
Auto Trait Implementations
impl RefUnwindSafe for DateRange
impl Send for DateRange
impl Sync for DateRange
impl Unpin for DateRange
impl UnwindSafe for DateRange
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