pub struct AstronomyObjectDetails {
pub name: AstronomyObjectType,
pub days: Option<Vec<AstronomyDay>>,
pub current: Option<AstronomyCurrent>,
pub results: Option<Vec<AstronomyCurrent>>,
}Expand description
Information about an astronomical object.
Fields§
§name: AstronomyObjectTypeObject name.
days: Option<Vec<AstronomyDay>>Lists and wraps all requested days where events are happening.
current: Option<AstronomyCurrent>The current data for the object. Only if requested.
results: Option<Vec<AstronomyCurrent>>The specific data for the object at isotime/utctime.
Trait Implementations§
Source§impl Debug for AstronomyObjectDetails
impl Debug for AstronomyObjectDetails
Source§impl<'de> Deserialize<'de> for AstronomyObjectDetails
impl<'de> Deserialize<'de> for AstronomyObjectDetails
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 AstronomyObjectDetails
impl RefUnwindSafe for AstronomyObjectDetails
impl Send for AstronomyObjectDetails
impl Sync for AstronomyObjectDetails
impl Unpin for AstronomyObjectDetails
impl UnwindSafe for AstronomyObjectDetails
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