pub struct Character {Show 16 fields
pub url: String,
pub name: String,
pub gender: Option<String>,
pub culture: Option<String>,
pub born: Option<String>,
pub died: Option<String>,
pub titles: Vec<String>,
pub aliases: Vec<String>,
pub father: Option<String>,
pub mother: Option<String>,
pub spouse: Option<String>,
pub allegiances: Vec<String>,
pub books: Vec<String>,
pub pov_books: Vec<String>,
pub tv_series: Vec<String>,
pub played_by: Vec<String>,
}
Fields§
§url: String
§name: String
§gender: Option<String>
§culture: Option<String>
§born: Option<String>
§died: Option<String>
§titles: Vec<String>
§aliases: Vec<String>
§father: Option<String>
§mother: Option<String>
§spouse: Option<String>
§allegiances: Vec<String>
§books: Vec<String>
§pov_books: Vec<String>
§tv_series: Vec<String>
§played_by: Vec<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Character
impl<'de> Deserialize<'de> for Character
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
impl Eq for Character
impl StructuralPartialEq for Character
Auto Trait Implementations§
impl Freeze for Character
impl RefUnwindSafe for Character
impl Send for Character
impl Sync for Character
impl Unpin for Character
impl UnwindSafe for Character
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.