pub struct SupportedDocumentDetail {
pub name: DocumentType,
pub is_mandatory: bool,
}Expand description
SupportedDocumentDetail : The supported document types for a service offering.
Fields§
§name: DocumentType§is_mandatory: boolWhen true, the supported document type is required.
Implementations§
Source§impl SupportedDocumentDetail
impl SupportedDocumentDetail
Sourcepub fn new(name: DocumentType, is_mandatory: bool) -> SupportedDocumentDetail
pub fn new(name: DocumentType, is_mandatory: bool) -> SupportedDocumentDetail
The supported document types for a service offering.
Trait Implementations§
Source§impl Clone for SupportedDocumentDetail
impl Clone for SupportedDocumentDetail
Source§fn clone(&self) -> SupportedDocumentDetail
fn clone(&self) -> SupportedDocumentDetail
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 SupportedDocumentDetail
impl Debug for SupportedDocumentDetail
Source§impl Default for SupportedDocumentDetail
impl Default for SupportedDocumentDetail
Source§fn default() -> SupportedDocumentDetail
fn default() -> SupportedDocumentDetail
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SupportedDocumentDetail
impl<'de> Deserialize<'de> for SupportedDocumentDetail
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 SupportedDocumentDetail
impl PartialEq for SupportedDocumentDetail
Source§impl Serialize for SupportedDocumentDetail
impl Serialize for SupportedDocumentDetail
impl StructuralPartialEq for SupportedDocumentDetail
Auto Trait Implementations§
impl Freeze for SupportedDocumentDetail
impl RefUnwindSafe for SupportedDocumentDetail
impl Send for SupportedDocumentDetail
impl Sync for SupportedDocumentDetail
impl Unpin for SupportedDocumentDetail
impl UnsafeUnpin for SupportedDocumentDetail
impl UnwindSafe for SupportedDocumentDetail
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