pub struct School {
pub id: String,
pub country: usize,
pub city: usize,
pub name: String,
pub year_from: Option<usize>,
pub year_to: Option<usize>,
pub year_graduated: Option<usize>,
pub class: Option<String>,
pub speciality: Option<String>,
pub type_: Option<usize>,
pub type_str: Option<String>,
}Fields§
§id: String§country: usize§city: usize§name: String§year_from: Option<usize>§year_to: Option<usize>§year_graduated: Option<usize>§class: Option<String>§speciality: Option<String>§type_: Option<usize>§type_str: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for School
impl<'de> Deserialize<'de> for School
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
Auto Trait Implementations§
impl Freeze for School
impl RefUnwindSafe for School
impl Send for School
impl Sync for School
impl Unpin for School
impl UnsafeUnpin for School
impl UnwindSafe for School
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