[][src]Struct battlesnake::requests::Snake

pub struct Snake {
    pub id: String,
    pub name: String,
    pub health: u32,
    pub body: Vec<Location>,
    pub latency: String,
    pub head: Location,
    pub length: u32,
    pub shout: String,
    pub squad: String,
}

Fields

id: Stringname: Stringhealth: u32body: Vec<Location>latency: Stringhead: Locationlength: u32shout: Stringsquad: String

Trait Implementations

impl Clone for Snake[src]

impl Debug for Snake[src]

impl Default for Snake[src]

impl<'de> Deserialize<'de> for Snake where
    Snake: Default
[src]

impl Eq for Snake[src]

impl PartialEq<Snake> for Snake[src]

impl StructuralEq for Snake[src]

impl StructuralPartialEq for Snake[src]

Auto Trait Implementations

impl RefUnwindSafe for Snake

impl Send for Snake

impl Sync for Snake

impl Unpin for Snake

impl UnwindSafe for Snake

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.