pub struct GameEndDto {
pub uuid: Option<Uuid>,
pub game_time: Option<i32>,
pub spawn_points: Option<Vec<Spawn>>,
pub click_points: Option<Vec<Click>>,
pub difficulty: Option<GameEndDtoDifficulty>,
}Fields§
§uuid: Option<Uuid>§game_time: Option<i32>§spawn_points: Option<Vec<Spawn>>§click_points: Option<Vec<Click>>§difficulty: Option<GameEndDtoDifficulty>Implementations§
Source§impl GameEndDto
impl GameEndDto
pub fn new() -> GameEndDto
Trait Implementations§
Source§impl Clone for GameEndDto
impl Clone for GameEndDto
Source§fn clone(&self) -> GameEndDto
fn clone(&self) -> GameEndDto
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 GameEndDto
impl Debug for GameEndDto
Source§impl<'de> Deserialize<'de> for GameEndDto
impl<'de> Deserialize<'de> for GameEndDto
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
Source§impl FromStr for GameEndDto
Converts Query Parameters representation (style=form, explode=false) to a GameEndDto value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for GameEndDto
Converts Query Parameters representation (style=form, explode=false) to a GameEndDto value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for GameEndDto
impl PartialEq for GameEndDto
Source§impl Serialize for GameEndDto
impl Serialize for GameEndDto
Source§impl ToString for GameEndDto
Converts the GameEndDto value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for GameEndDto
Converts the GameEndDto value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer
Source§impl Validate for GameEndDto
impl Validate for GameEndDto
Source§impl<'v_a> ValidateArgs<'v_a> for GameEndDto
impl<'v_a> ValidateArgs<'v_a> for GameEndDto
impl StructuralPartialEq for GameEndDto
Auto Trait Implementations§
impl Freeze for GameEndDto
impl RefUnwindSafe for GameEndDto
impl Send for GameEndDto
impl Sync for GameEndDto
impl Unpin for GameEndDto
impl UnwindSafe for GameEndDto
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