pub struct Spotlight {
pub end_date: OffsetDateTime,
pub mode_specific: bool,
pub name: String,
pub participant_count: Option<u32>,
pub spotlight_id: u32,
pub spotlight_type: String,
pub start_date: OffsetDateTime,
}
Expand description
The details of a spotlight.
Fields§
§end_date: OffsetDateTime
The end date of the spotlight.
mode_specific: bool
If the spotlight has different mades specific to each GameMode
.
name: String
The name of the spotlight.
participant_count: Option<u32>
The number of users participating in this spotlight. This is only shown when viewing a single spotlight.
spotlight_id: u32
The ID of this spotlight.
spotlight_type: String
The type of spotlight.
start_date: OffsetDateTime
The starting date of the spotlight.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Spotlight
impl<'de> Deserialize<'de> for Spotlight
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 PartialEq<Spotlight> for Spotlight
impl PartialEq<Spotlight> for Spotlight
impl Eq for Spotlight
Auto Trait Implementations§
impl RefUnwindSafe for Spotlight
impl Send for Spotlight
impl Sync for Spotlight
impl Unpin for Spotlight
impl UnwindSafe for Spotlight
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.