pub struct Tide {
pub time: Time,
pub amplitude: f32,
pub phase: TidalPhase,
}
Expand description
Information about the tide at a specific point in time.
Fields§
§time: Time
Date/time of the specific tidal data point.
amplitude: f32
The elevation of tidal water above or below mean sea level.
phase: TidalPhase
The current tidal phase.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tide
impl<'de> Deserialize<'de> for Tide
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Tide, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Tide, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Tide
impl RefUnwindSafe for Tide
impl Send for Tide
impl Sync for Tide
impl Unpin for Tide
impl UnwindSafe for Tide
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