pub struct HitData {
pub launch_speed: Option<f64>,
pub launch_angle: Option<f64>,
pub total_distance: Option<f64>,
pub trajectory: Option<String>,
pub hardness: Option<String>,
}Fields§
§launch_speed: Option<f64>§launch_angle: Option<f64>§total_distance: Option<f64>§trajectory: Option<String>§hardness: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for HitData
impl<'de> Deserialize<'de> for HitData
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 HitData
impl RefUnwindSafe for HitData
impl Send for HitData
impl Sync for HitData
impl Unpin for HitData
impl UnsafeUnpin for HitData
impl UnwindSafe for HitData
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