pub struct ParameterDef {
pub name: OwnedName,
pub properties: Vec<Property>,
}Expand description
Represents a parameter definition used in a PrintCapabilitiesDocument.
Fields§
§name: OwnedNameThe name of the parameter.
properties: Vec<Property>Properties of the parameter
Implementations§
Source§impl ParameterDef
impl ParameterDef
Sourcepub fn default_value(&self) -> Option<&PropertyValue>
pub fn default_value(&self) -> Option<&PropertyValue>
Get the default value of this parameter.
Trait Implementations§
Source§impl Clone for ParameterDef
impl Clone for ParameterDef
Source§fn clone(&self) -> ParameterDef
fn clone(&self) -> ParameterDef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ParameterDef
impl Debug for ParameterDef
impl Eq for ParameterDef
Source§impl Hash for ParameterDef
impl Hash for ParameterDef
Source§impl PartialEq for ParameterDef
impl PartialEq for ParameterDef
impl StructuralPartialEq for ParameterDef
Source§impl WithProperties for ParameterDef
impl WithProperties for ParameterDef
Source§impl XmlSerializer for ParameterDef
impl XmlSerializer for ParameterDef
Auto Trait Implementations§
impl Freeze for ParameterDef
impl RefUnwindSafe for ParameterDef
impl Send for ParameterDef
impl Sync for ParameterDef
impl Unpin for ParameterDef
impl UnsafeUnpin for ParameterDef
impl UnwindSafe for ParameterDef
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