use serde::Deserialize;
use crate::Attribute;
#[derive(Debug, Clone, PartialEq, Eq, Deserialize)]
pub struct Server {
#[serde(default)]
pub attributes: Vec<Attribute>,
pub quantity: usize,
}
impl From<&Server> for crate::Server {
fn from(s: &Server) -> Self {
Self {
attributes: s.attributes.clone(),
..Self::default()
}
}
}