pub struct Factory {
pub base_object: BaseObject,
pub hits: i32,
pub hits_max: i32,
pub user: String,
pub notify_when_attacked: bool,
pub store: Store,
pub store_capacity: Option<i32>,
pub cooldown: Option<i32>,
pub cooldown_time: Option<u64>,
pub effects: Option<HashMap<String, Effect>>,
pub level: Option<i32>,
}Expand description
Factory 对象
Fields§
§base_object: BaseObject§hits: i32§hits_max: i32§user: String§notify_when_attacked: bool§store: Store§store_capacity: Option<i32>§cooldown: Option<i32>§cooldown_time: Option<u64>§effects: Option<HashMap<String, Effect>>§level: Option<i32>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Factory
impl<'de> Deserialize<'de> for Factory
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 Factory
impl RefUnwindSafe for Factory
impl Send for Factory
impl Sync for Factory
impl Unpin for Factory
impl UnwindSafe for Factory
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