Enum mega::LastModified
source · pub enum LastModified {
Now,
Set(DateTime<Utc>),
}Expand description
Represents the last modified date to set for a newly uploaded MEGA node.
Variants§
Now
Set the last modified date to the current time of the upload.
Set(DateTime<Utc>)
Set the last modified date to the explicitely-specified time.
Implementations§
Trait Implementations§
source§impl Clone for LastModified
impl Clone for LastModified
source§fn clone(&self) -> LastModified
fn clone(&self) -> LastModified
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for LastModified
impl Debug for LastModified
source§impl PartialEq<LastModified> for LastModified
impl PartialEq<LastModified> for LastModified
source§fn eq(&self, other: &LastModified) -> bool
fn eq(&self, other: &LastModified) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for LastModified
impl Eq for LastModified
impl StructuralEq for LastModified
impl StructuralPartialEq for LastModified
Auto Trait Implementations§
impl RefUnwindSafe for LastModified
impl Send for LastModified
impl Sync for LastModified
impl Unpin for LastModified
impl UnwindSafe for LastModified
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.