pub struct PlayerResult {
pub order: u32,
pub username: String,
pub get_turn: i32,
pub rem_turn: i32,
pub total_point: i32,
pub action_point: Option<i32>,
pub item_point: Option<i32>,
pub put_point: Option<i32>,
pub put_damage: Option<i32>,
}Expand description
One player’s result within a battle.
Fields§
§order: u32§username: String§get_turn: i32§rem_turn: i32§total_point: i32§action_point: Option<i32>§item_point: Option<i32>§put_point: Option<i32>§put_damage: Option<i32>Trait Implementations§
Source§impl Clone for PlayerResult
impl Clone for PlayerResult
Source§fn clone(&self) -> PlayerResult
fn clone(&self) -> PlayerResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlayerResult
impl Debug for PlayerResult
Source§impl Default for PlayerResult
impl Default for PlayerResult
Source§fn default() -> PlayerResult
fn default() -> PlayerResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PlayerResult
impl RefUnwindSafe for PlayerResult
impl Send for PlayerResult
impl Sync for PlayerResult
impl Unpin for PlayerResult
impl UnsafeUnpin for PlayerResult
impl UnwindSafe for PlayerResult
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