Struct swapi_client::People [−][src]
pub struct People {Show 16 fields
pub birth_year: String,
pub eye_color: String,
pub films: Vec<String>,
pub gender: String,
pub hair_color: String,
pub height: String,
pub homeworld: String,
pub mass: String,
pub name: String,
pub skin_color: String,
pub created: String,
pub edited: String,
pub species: Vec<String>,
pub starships: Vec<String>,
pub url: String,
pub vehicles: Vec<String>,
}Expand description
People resource within the Star Wars universe.
Fields
birth_year: Stringeye_color: Stringfilms: Vec<String>gender: Stringhair_color: Stringheight: Stringhomeworld: Stringmass: Stringname: Stringskin_color: Stringcreated: Stringedited: Stringspecies: Vec<String>starships: Vec<String>url: Stringvehicles: Vec<String>Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for People
impl UnwindSafe for People
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more