pub struct CreepBodyPart {
pub part_type: String,
pub hits: Option<i32>,
pub boost: Option<String>,
}Expand description
Creep 对象的 Body 字段
Fields§
§part_type: String§hits: Option<i32>§boost: Option<String>Trait Implementations§
Source§impl Debug for CreepBodyPart
impl Debug for CreepBodyPart
Source§impl<'de> Deserialize<'de> for CreepBodyPart
impl<'de> Deserialize<'de> for CreepBodyPart
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 CreepBodyPart
impl RefUnwindSafe for CreepBodyPart
impl Send for CreepBodyPart
impl Sync for CreepBodyPart
impl Unpin for CreepBodyPart
impl UnwindSafe for CreepBodyPart
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