pub struct Moon {
pub moon_id: i64,
pub name: String,
pub position: Position,
pub system_id: i64,
}Expand description
A moon.
Fields§
§moon_id: i64§name: String§position: Position§system_id: i64Trait Implementations§
Source§impl<'de> Deserialize<'de> for Moon
impl<'de> Deserialize<'de> for Moon
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 Moon
impl RefUnwindSafe for Moon
impl Send for Moon
impl Sync for Moon
impl Unpin for Moon
impl UnsafeUnpin for Moon
impl UnwindSafe for Moon
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