pub struct Military {
pub unit: Option<String>,
pub unit_id: Option<u64>,
pub country_id: Option<u64>,
pub from: Option<u64>,
pub until: Option<u64>,
}Expand description
Information about the military service of the user
Fields§
§unit: Option<String>The part number
unit_id: Option<u64>The part identifier in the database
country_id: Option<u64>The country in which the part is located
from: Option<u64>year of commencement of service
until: Option<u64>Year of end of service
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Military
impl<'de> Deserialize<'de> for Military
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 Military
impl RefUnwindSafe for Military
impl Send for Military
impl Sync for Military
impl Unpin for Military
impl UnwindSafe for Military
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