pub struct Nightwave {
pub id: Option<String>,
pub activation: Option<String>,
pub expiry: Option<String>,
pub params: Option<Value>,
pub reward_types: Option<Vec<String>>,
pub season: Option<f64>,
pub tag: Option<String>,
pub phase: Option<f64>,
pub possible_challenges: Option<Vec<NightwaveChallenge>>,
pub active_challenges: Option<Vec<NightwaveChallenge>>,
}Fields§
§id: Option<String>unique identifier for this object/event/thing
activation: Option<String>ISO-8601 formatted timestamp for when the event began
expiry: Option<String>A timestamp in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ) representing a specific point in time. This format is commonly used in APIs to ensure consistent date and time representation. The timestamp is in UTC (Coordinated Universal Time) and does not include any timezone offset. It is used to represent events, deadlines, or any time-related information in a standardized way. Example: "2023-10-01T12:00:00Z" represents October 1, 2023, at 12:00 PM UTC.
params: Option<Value>§reward_types: Option<Vec<String>>§season: Option<f64>§tag: Option<String>§phase: Option<f64>§possible_challenges: Option<Vec<NightwaveChallenge>>§active_challenges: Option<Vec<NightwaveChallenge>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Nightwave
impl<'de> Deserialize<'de> for Nightwave
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
impl StructuralPartialEq for Nightwave
Auto Trait Implementations§
impl Freeze for Nightwave
impl RefUnwindSafe for Nightwave
impl Send for Nightwave
impl Sync for Nightwave
impl Unpin for Nightwave
impl UnwindSafe for Nightwave
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