pub struct SupportedDocumentItem {
pub additional: Option<Additional>,
pub available_services: Option<Vec<AvailableServiceItem>>,
pub display_name: Option<String>,
pub document_type: Option<String>,
pub example_format: Option<String>,
pub format: Option<String>,
pub has_visual_sample: Option<bool>,
pub lifetime_valid: Option<bool>,
pub sides: Option<Vec<String>>,
}
Fields§
§additional: Option<Additional>
Additional information required by the document type.\n
available_services: Option<Vec<AvailableServiceItem>>
Services that support this document type and the specific name expected by the service.\n
display_name: Option<String>
Display name of the document type.\n
document_type: Option<String>
The document type.\n
example_format: Option<String>
Example format.\n
format: Option<String>
Document format.\n
has_visual_sample: Option<bool>
A flag to indicate if the document has a visual sample.\n
lifetime_valid: Option<bool>
Flag to indicate if the document expires or not. Documents that expire have an expiration date\n
sides: Option<Vec<String>>
Document sides.\n
Trait Implementations§
Source§impl Clone for SupportedDocumentItem
impl Clone for SupportedDocumentItem
Source§fn clone(&self) -> SupportedDocumentItem
fn clone(&self) -> SupportedDocumentItem
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 SupportedDocumentItem
impl Debug for SupportedDocumentItem
Source§impl<'de> Deserialize<'de> for SupportedDocumentItem
impl<'de> Deserialize<'de> for SupportedDocumentItem
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 SupportedDocumentItem
impl RefUnwindSafe for SupportedDocumentItem
impl Send for SupportedDocumentItem
impl Sync for SupportedDocumentItem
impl Unpin for SupportedDocumentItem
impl UnwindSafe for SupportedDocumentItem
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