pub struct ActivityTimestamps {
pub end: Option<u64>,
pub start: Option<u64>,
}
Fields§
§end: Option<u64>
Unix time of when the activity started, in milliseconds.
start: Option<u64>
Unix time of when the activity ends, in milliseconds.
Trait Implementations§
source§impl Clone for ActivityTimestamps
impl Clone for ActivityTimestamps
source§fn clone(&self) -> ActivityTimestamps
fn clone(&self) -> ActivityTimestamps
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 ActivityTimestamps
impl Debug for ActivityTimestamps
source§impl<'de> Deserialize<'de> for ActivityTimestamps
impl<'de> Deserialize<'de> for ActivityTimestamps
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for ActivityTimestamps
impl Hash for ActivityTimestamps
source§impl PartialEq for ActivityTimestamps
impl PartialEq for ActivityTimestamps
source§impl Serialize for ActivityTimestamps
impl Serialize for ActivityTimestamps
impl Eq for ActivityTimestamps
impl StructuralPartialEq for ActivityTimestamps
Auto Trait Implementations§
impl Freeze for ActivityTimestamps
impl RefUnwindSafe for ActivityTimestamps
impl Send for ActivityTimestamps
impl Sync for ActivityTimestamps
impl Unpin for ActivityTimestamps
impl UnwindSafe for ActivityTimestamps
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)