Struct discord_sdk::relations::RelationshipActivityTimestamps [−][src]
pub struct RelationshipActivityTimestamps {
pub start: Option<OffsetDateTime>,
pub end: Option<OffsetDateTime>,
}
Expand description
The start and end timestamp of the activity. These are unix timestamps.
Fields
start: Option<OffsetDateTime>
end: Option<OffsetDateTime>
Trait Implementations
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl Send for RelationshipActivityTimestamps
impl Sync for RelationshipActivityTimestamps
impl Unpin for RelationshipActivityTimestamps
impl UnwindSafe for RelationshipActivityTimestamps
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more