[][src]Struct battlesnake::requests::Board

pub struct Board {
    pub height: u32,
    pub width: u32,
    pub food: Vec<Location>,
    pub hazards: Vec<Location>,
    pub snakes: Vec<Snake>,
}

Fields

height: u32width: u32food: Vec<Location>hazards: Vec<Location>snakes: Vec<Snake>

Trait Implementations

impl Clone for Board[src]

impl Debug for Board[src]

impl Default for Board[src]

impl<'de> Deserialize<'de> for Board[src]

impl Eq for Board[src]

impl PartialEq<Board> for Board[src]

impl StructuralEq for Board[src]

impl StructuralPartialEq for Board[src]

Auto Trait Implementations

impl RefUnwindSafe for Board

impl Send for Board

impl Sync for Board

impl Unpin for Board

impl UnwindSafe for Board

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.