Added several new types

This commit is contained in:
Philip (a-0) 2023-07-12 00:21:51 +02:00
parent 0280f02bc0
commit 58c8f8d356
45 changed files with 1496 additions and 1 deletions

View file

@ -0,0 +1,25 @@
use super::GalaxyElement;
default_derive!{
pub struct GalaxyClusterRelationList {
elements: Vec<GalaxyElement>
}
}
impl From<Vec<GalaxyElement>> for GalaxyClusterRelationList {
fn from(value: Vec<GalaxyElement>) -> Self {
GalaxyClusterRelationList { elements: value }
}
}
impl Into<Vec<GalaxyElement>> for GalaxyClusterRelationList {
fn into(self) -> Vec<GalaxyElement> {
self.elements
}
}
#[test]
fn valid1() {
todo!()
}