pub struct Tower {
pub base_object: BaseObject,
pub hits: i32,
pub hits_max: i32,
pub notify_when_attacked: bool,
pub user: String,
pub store: SpawnStore,
pub store_capacity_resource: SpawnStore,
pub action_log: ActionLog,
}Expand description
Tower 对象
Fields§
§base_object: BaseObject§hits: i32§hits_max: i32§notify_when_attacked: bool§user: String§store: SpawnStore§store_capacity_resource: SpawnStore§action_log: ActionLogTrait Implementations§
Source§impl<'de> Deserialize<'de> for Tower
impl<'de> Deserialize<'de> for Tower
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 Tower
impl RefUnwindSafe for Tower
impl Send for Tower
impl Sync for Tower
impl Unpin for Tower
impl UnwindSafe for Tower
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