pub struct NightwaveChallenge {
pub id: Option<String>,
pub activation: Option<String>,
pub expiry: Option<String>,
pub is_daily: Option<bool>,
pub is_elite: Option<bool>,
pub title: Option<String>,
pub desc: Option<String>,
pub reputation: Option<f64>,
}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.
is_daily: Option<bool>§is_elite: Option<bool>§title: Option<String>§desc: Option<String>§reputation: Option<f64>Implementations§
Source§impl NightwaveChallenge
impl NightwaveChallenge
pub fn new() -> NightwaveChallenge
Trait Implementations§
Source§impl Clone for NightwaveChallenge
impl Clone for NightwaveChallenge
Source§fn clone(&self) -> NightwaveChallenge
fn clone(&self) -> NightwaveChallenge
Returns a duplicate 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 NightwaveChallenge
impl Debug for NightwaveChallenge
Source§impl Default for NightwaveChallenge
impl Default for NightwaveChallenge
Source§fn default() -> NightwaveChallenge
fn default() -> NightwaveChallenge
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NightwaveChallenge
impl<'de> Deserialize<'de> for NightwaveChallenge
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 for NightwaveChallenge
impl PartialEq for NightwaveChallenge
Source§impl Serialize for NightwaveChallenge
impl Serialize for NightwaveChallenge
impl StructuralPartialEq for NightwaveChallenge
Auto Trait Implementations§
impl Freeze for NightwaveChallenge
impl RefUnwindSafe for NightwaveChallenge
impl Send for NightwaveChallenge
impl Sync for NightwaveChallenge
impl Unpin for NightwaveChallenge
impl UnwindSafe for NightwaveChallenge
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