pub struct Territory {
pub sector: i16,
pub size: i16,
pub slots: i16,
pub daily_respect: i16,
pub faction: i32,
pub neighbors: Vec<String>,
pub war: Option<TerritoryWar>,
pub racket: Option<Racket>,
}
Fields§
§sector: i16
§size: i16
§slots: i16
§daily_respect: i16
§faction: i32
§neighbors: Vec<String>
§war: Option<TerritoryWar>
§racket: Option<Racket>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Territory
impl<'de> Deserialize<'de> for Territory
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 Territory
impl RefUnwindSafe for Territory
impl Send for Territory
impl Sync for Territory
impl Unpin for Territory
impl UnwindSafe for Territory
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