pub struct SupportedDocumentSpecification {
pub format: DocumentFormat,
pub size: Box<DocumentSize>,
pub print_options: Vec<PrintOption>,
}Expand description
SupportedDocumentSpecification : Document specification that is supported for a service offering.
Fields§
§format: DocumentFormat§size: Box<DocumentSize>§print_options: Vec<PrintOption>A list of the format options for a label.
Implementations§
Source§impl SupportedDocumentSpecification
impl SupportedDocumentSpecification
Sourcepub fn new(
format: DocumentFormat,
size: DocumentSize,
print_options: Vec<PrintOption>,
) -> SupportedDocumentSpecification
pub fn new( format: DocumentFormat, size: DocumentSize, print_options: Vec<PrintOption>, ) -> SupportedDocumentSpecification
Document specification that is supported for a service offering.
Trait Implementations§
Source§impl Clone for SupportedDocumentSpecification
impl Clone for SupportedDocumentSpecification
Source§fn clone(&self) -> SupportedDocumentSpecification
fn clone(&self) -> SupportedDocumentSpecification
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 Default for SupportedDocumentSpecification
impl Default for SupportedDocumentSpecification
Source§fn default() -> SupportedDocumentSpecification
fn default() -> SupportedDocumentSpecification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SupportedDocumentSpecification
impl<'de> Deserialize<'de> for SupportedDocumentSpecification
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 SupportedDocumentSpecification
impl PartialEq for SupportedDocumentSpecification
Source§fn eq(&self, other: &SupportedDocumentSpecification) -> bool
fn eq(&self, other: &SupportedDocumentSpecification) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SupportedDocumentSpecification
Auto Trait Implementations§
impl Freeze for SupportedDocumentSpecification
impl RefUnwindSafe for SupportedDocumentSpecification
impl Send for SupportedDocumentSpecification
impl Sync for SupportedDocumentSpecification
impl Unpin for SupportedDocumentSpecification
impl UnwindSafe for SupportedDocumentSpecification
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