pub struct HealthUpdate {
pub source: usize,
pub target: usize,
pub value: f32,
}Fields§
§source: usize§target: usize§value: f32Implementations§
Source§impl HealthUpdate
impl HealthUpdate
pub fn parse(val: Parameters) -> Option<Message>
Trait Implementations§
Source§impl Clone for HealthUpdate
impl Clone for HealthUpdate
Source§fn clone(&self) -> HealthUpdate
fn clone(&self) -> HealthUpdate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HealthUpdate
impl Debug for HealthUpdate
Source§impl Default for HealthUpdate
impl Default for HealthUpdate
Source§fn default() -> HealthUpdate
fn default() -> HealthUpdate
Returns the “default value” for a type. Read more
Source§impl PartialEq for HealthUpdate
impl PartialEq for HealthUpdate
impl StructuralPartialEq for HealthUpdate
Auto Trait Implementations§
impl Freeze for HealthUpdate
impl RefUnwindSafe for HealthUpdate
impl Send for HealthUpdate
impl Sync for HealthUpdate
impl Unpin for HealthUpdate
impl UnwindSafe for HealthUpdate
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