pub struct FixedHoliday {
pub name: String,
pub name_en: String,
pub month: u32,
pub day: u32,
pub activity_multiplier: f64,
pub observe_weekend_rule: bool,
}Fields§
§name: String§name_en: String§month: u32§day: u32§activity_multiplier: f64§observe_weekend_rule: boolTrait Implementations§
Source§impl Clone for FixedHoliday
impl Clone for FixedHoliday
Source§fn clone(&self) -> FixedHoliday
fn clone(&self) -> FixedHoliday
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 FixedHoliday
impl Debug for FixedHoliday
Source§impl Default for FixedHoliday
impl Default for FixedHoliday
Source§fn default() -> FixedHoliday
fn default() -> FixedHoliday
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FixedHoliday
impl<'de> Deserialize<'de> for FixedHoliday
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
Auto Trait Implementations§
impl Freeze for FixedHoliday
impl RefUnwindSafe for FixedHoliday
impl Send for FixedHoliday
impl Sync for FixedHoliday
impl Unpin for FixedHoliday
impl UnsafeUnpin for FixedHoliday
impl UnwindSafe for FixedHoliday
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