pub struct SystemPlanet {
pub asteroid_belts: Option<Vec<i32>>,
pub moons: Option<Vec<i32>>,
pub planet_id: i32,
}Fields§
§asteroid_belts: Option<Vec<i32>>§moons: Option<Vec<i32>>§planet_id: i32Trait Implementations§
Source§impl Clone for SystemPlanet
impl Clone for SystemPlanet
Source§impl Debug for SystemPlanet
impl Debug for SystemPlanet
Source§impl<'de> Deserialize<'de> for SystemPlanet
impl<'de> Deserialize<'de> for SystemPlanet
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 SystemPlanet
impl RefUnwindSafe for SystemPlanet
impl Send for SystemPlanet
impl Sync for SystemPlanet
impl Unpin for SystemPlanet
impl UnsafeUnpin for SystemPlanet
impl UnwindSafe for SystemPlanet
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