pub struct ExtendedGalaxy {
pub galaxy: Option<Box<Galaxy>>,
pub galaxy_cluster: Option<Vec<GalaxyCluster>>,
}
Expand description
ExtendedGalaxy : A galaxy with it’s galaxy cluster details.
Fields§
§galaxy: Option<Box<Galaxy>>
§galaxy_cluster: Option<Vec<GalaxyCluster>>
Implementations§
Source§impl ExtendedGalaxy
impl ExtendedGalaxy
Sourcepub fn new() -> ExtendedGalaxy
pub fn new() -> ExtendedGalaxy
A galaxy with it’s galaxy cluster details.
Trait Implementations§
Source§impl Clone for ExtendedGalaxy
impl Clone for ExtendedGalaxy
Source§fn clone(&self) -> ExtendedGalaxy
fn clone(&self) -> ExtendedGalaxy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ExtendedGalaxy
impl Debug for ExtendedGalaxy
Source§impl Default for ExtendedGalaxy
impl Default for ExtendedGalaxy
Source§fn default() -> ExtendedGalaxy
fn default() -> ExtendedGalaxy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExtendedGalaxy
impl<'de> Deserialize<'de> for ExtendedGalaxy
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
Source§impl PartialEq for ExtendedGalaxy
impl PartialEq for ExtendedGalaxy
Source§impl Serialize for ExtendedGalaxy
impl Serialize for ExtendedGalaxy
impl StructuralPartialEq for ExtendedGalaxy
Auto Trait Implementations§
impl Freeze for ExtendedGalaxy
impl RefUnwindSafe for ExtendedGalaxy
impl Send for ExtendedGalaxy
impl Sync for ExtendedGalaxy
impl Unpin for ExtendedGalaxy
impl UnwindSafe for ExtendedGalaxy
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