pub struct CharacterPlanet {
pub last_update: String,
pub num_pins: i64,
pub owner_id: i64,
pub planet_id: i64,
pub planet_type: PlanetType,
pub solar_system_id: i64,
pub upgrade_level: i64,
}Expand description
A planet where a character has a colony.
Fields§
§last_update: StringDate of the last update of the colony.
num_pins: i64Number of pins in the colony.
owner_id: i64Character ID of the owner.
planet_id: i64ID of the planet.
planet_type: PlanetTypeType of the planet.
solar_system_id: i64Solar system of the planet.
upgrade_level: i64Command center upgrade level.
Trait Implementations§
Source§impl Clone for CharacterPlanet
impl Clone for CharacterPlanet
Source§impl Debug for CharacterPlanet
impl Debug for CharacterPlanet
Source§impl<'de> Deserialize<'de> for CharacterPlanet
impl<'de> Deserialize<'de> for CharacterPlanet
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
impl Eq for CharacterPlanet
Source§impl PartialEq for CharacterPlanet
impl PartialEq for CharacterPlanet
Source§impl Serialize for CharacterPlanet
impl Serialize for CharacterPlanet
impl StructuralPartialEq for CharacterPlanet
Auto Trait Implementations§
impl Freeze for CharacterPlanet
impl RefUnwindSafe for CharacterPlanet
impl Send for CharacterPlanet
impl Sync for CharacterPlanet
impl Unpin for CharacterPlanet
impl UnsafeUnpin for CharacterPlanet
impl UnwindSafe for CharacterPlanet
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.