pub struct PersonalDocument {
pub files: Vec<DatedFile>,
pub translation: Vec<DatedFile>,
}
Expand description
A personal document, containing some information about a user
Fields§
§files: Vec<DatedFile>
List of files containing the pages of the document
translation: Vec<DatedFile>
List of files containing a certified English translation of the document
Trait Implementations§
Source§impl Clone for PersonalDocument
impl Clone for PersonalDocument
Source§fn clone(&self) -> PersonalDocument
fn clone(&self) -> PersonalDocument
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PersonalDocument
impl Debug for PersonalDocument
Source§impl Default for PersonalDocument
impl Default for PersonalDocument
Source§fn default() -> PersonalDocument
fn default() -> PersonalDocument
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PersonalDocument
impl<'de> Deserialize<'de> for PersonalDocument
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
Source§impl PartialEq for PersonalDocument
impl PartialEq for PersonalDocument
Source§impl Serialize for PersonalDocument
impl Serialize for PersonalDocument
impl StructuralPartialEq for PersonalDocument
Auto Trait Implementations§
impl Freeze for PersonalDocument
impl RefUnwindSafe for PersonalDocument
impl Send for PersonalDocument
impl Sync for PersonalDocument
impl Unpin for PersonalDocument
impl UnwindSafe for PersonalDocument
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