pub struct RaidScheduleSchema {
pub weekdays: Vec<RaidWeekday>,
pub start_hour_utc: Option<u32>,
pub start_minute_utc: Option<u32>,
pub duration_hours: Option<u32>,
}Fields§
§weekdays: Vec<RaidWeekday>UTC weekdays when the raid opens.
start_hour_utc: Option<u32>UTC hour when the raid opens.
start_minute_utc: Option<u32>UTC minute when the raid opens.
duration_hours: Option<u32>Maximum raid duration in hours.
Implementations§
Source§impl RaidScheduleSchema
impl RaidScheduleSchema
pub fn new(weekdays: Vec<RaidWeekday>) -> RaidScheduleSchema
Trait Implementations§
Source§impl Clone for RaidScheduleSchema
impl Clone for RaidScheduleSchema
Source§fn clone(&self) -> RaidScheduleSchema
fn clone(&self) -> RaidScheduleSchema
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RaidScheduleSchema
impl Debug for RaidScheduleSchema
Source§impl Default for RaidScheduleSchema
impl Default for RaidScheduleSchema
Source§fn default() -> RaidScheduleSchema
fn default() -> RaidScheduleSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RaidScheduleSchema
impl<'de> Deserialize<'de> for RaidScheduleSchema
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 RaidScheduleSchema
impl PartialEq for RaidScheduleSchema
Source§fn eq(&self, other: &RaidScheduleSchema) -> bool
fn eq(&self, other: &RaidScheduleSchema) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RaidScheduleSchema
impl Serialize for RaidScheduleSchema
impl StructuralPartialEq for RaidScheduleSchema
Auto Trait Implementations§
impl Freeze for RaidScheduleSchema
impl RefUnwindSafe for RaidScheduleSchema
impl Send for RaidScheduleSchema
impl Sync for RaidScheduleSchema
impl Unpin for RaidScheduleSchema
impl UnsafeUnpin for RaidScheduleSchema
impl UnwindSafe for RaidScheduleSchema
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