[][src]Struct sudoku_backend::ops::NewBoardRequestForm

pub struct NewBoardRequestForm {
    pub difficulty: Result<BoardDifficulty, Option<String>>,
}

Form requested by the client to play a new Sudoku board

Consult doc/sudoku.md

Fields

Difficulty of generated board

Trait Implementations

impl PartialEq<NewBoardRequestForm> for NewBoardRequestForm
[src]

impl Clone for NewBoardRequestForm
[src]

Performs copy-assignment from source. Read more

impl Ord for NewBoardRequestForm
[src]

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Eq for NewBoardRequestForm
[src]

impl PartialOrd<NewBoardRequestForm> for NewBoardRequestForm
[src]

impl Debug for NewBoardRequestForm
[src]

impl Hash for NewBoardRequestForm
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<'rocket> FromForm<'rocket> for NewBoardRequestForm
[src]

The associated error to be returned when parsing fails.

Auto Trait Implementations

impl Send for NewBoardRequestForm

impl Sync for NewBoardRequestForm

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Typeable for T where
    T: Any
[src]

Get the TypeId of this object.

impl<T> IntoSql for T
[src]

Convert self to an expression for Diesel's query builder. Read more

Convert &self to an expression for Diesel's query builder. Read more