pub struct FixedAdjustment(pub i64);Expand description
Fixed day offset for all dates.
Tuple Fields§
§0: i64Implementations§
Trait Implementations§
Source§impl Clone for FixedAdjustment
impl Clone for FixedAdjustment
Source§fn clone(&self) -> FixedAdjustment
fn clone(&self) -> FixedAdjustment
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 FixedAdjustment
impl Debug for FixedAdjustment
Source§impl Default for FixedAdjustment
impl Default for FixedAdjustment
Source§fn default() -> FixedAdjustment
fn default() -> FixedAdjustment
Returns the “default value” for a type. Read more
Source§impl MoonProvider for FixedAdjustment
impl MoonProvider for FixedAdjustment
fn get_adjustment( &self, _date: NaiveDate, _coords: Option<GeoCoordinate>, ) -> Result<i64, ShaumError>
impl Copy for FixedAdjustment
Auto Trait Implementations§
impl Freeze for FixedAdjustment
impl RefUnwindSafe for FixedAdjustment
impl Send for FixedAdjustment
impl Sync for FixedAdjustment
impl Unpin for FixedAdjustment
impl UnwindSafe for FixedAdjustment
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