pub struct ParsedData {Show 16 fields
pub vehicle_class: String,
pub driving_privileges: String,
pub additional_privileges: String,
pub expiration_date: String,
pub last_name: String,
pub first_name: String,
pub middle_name: String,
pub issue_date: String,
pub date_of_birth: String,
pub gender: Gender,
pub eye_color: String,
pub height: String,
pub street: String,
pub city: String,
pub state: String,
pub postal_code: String,
}
Fields§
§vehicle_class: String
§driving_privileges: String
§additional_privileges: String
§expiration_date: String
§last_name: String
§first_name: String
§middle_name: String
§issue_date: String
§date_of_birth: String
§gender: Gender
§eye_color: String
§height: String
§street: String
§city: String
§state: String
§postal_code: String
Implementations§
Source§impl ParsedData
impl ParsedData
pub fn from_raw_data(raw_data: &str) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParsedData
impl RefUnwindSafe for ParsedData
impl Send for ParsedData
impl Sync for ParsedData
impl Unpin for ParsedData
impl UnwindSafe for ParsedData
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