Struct salah::TimeAdjustment
source · pub struct TimeAdjustment {
pub fajr: i64,
pub sunrise: i64,
pub dhuhr: i64,
pub asr: i64,
pub maghrib: i64,
pub isha: i64,
}
Expand description
Time adjustment for all prayer times. The value is specified in minutes and can be either positive or negative.
Fields§
§fajr: i64
§sunrise: i64
§dhuhr: i64
§asr: i64
§maghrib: i64
§isha: i64
Implementations§
Trait Implementations§
source§impl Clone for TimeAdjustment
impl Clone for TimeAdjustment
source§fn clone(&self) -> TimeAdjustment
fn clone(&self) -> TimeAdjustment
Returns a copy 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 TimeAdjustment
impl Debug for TimeAdjustment
source§impl Default for TimeAdjustment
impl Default for TimeAdjustment
source§fn default() -> TimeAdjustment
fn default() -> TimeAdjustment
Returns the “default value” for a type. Read more
source§impl PartialEq for TimeAdjustment
impl PartialEq for TimeAdjustment
source§fn eq(&self, other: &TimeAdjustment) -> bool
fn eq(&self, other: &TimeAdjustment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TimeAdjustment
impl StructuralPartialEq for TimeAdjustment
Auto Trait Implementations§
impl Freeze for TimeAdjustment
impl RefUnwindSafe for TimeAdjustment
impl Send for TimeAdjustment
impl Sync for TimeAdjustment
impl Unpin for TimeAdjustment
impl UnwindSafe for TimeAdjustment
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