pub struct ListRange {
pub min: Option<u32>,
pub max: Option<u32>,
}
Expand description
Selection Ranges in “list-multi”
Fields§
§min: Option<u32>
The ‘min’ attribute specifies the minimum allowable number of selected/entered values.
max: Option<u32>
The ‘max’ attribute specifies the maximum allowable number of selected/entered values.
Trait Implementations§
Source§impl AsXml for ListRange
impl AsXml for ListRange
Source§impl FromXml for ListRange
impl FromXml for ListRange
Source§type Builder = ListRangeFromXmlBuilder
type Builder = ListRangeFromXmlBuilder
A builder type used to construct the element. Read more
Source§fn from_events(
name: QName,
attrs: AttrMap,
ctx: &Context<'_>,
) -> Result<Self::Builder, FromEventsError>
fn from_events( name: QName, attrs: AttrMap, ctx: &Context<'_>, ) -> Result<Self::Builder, FromEventsError>
Attempt to initiate the streamed construction of this struct from XML. Read more
Source§fn xml_name_matcher() -> XmlNameMatcher<'static>
fn xml_name_matcher() -> XmlNameMatcher<'static>
Return a predicate which determines if
Self
may be parsed from
a given XML element. Read moreSource§impl TryFrom<Element> for ListRange
impl TryFrom<Element> for ListRange
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for ListRange
Auto Trait Implementations§
impl Freeze for ListRange
impl RefUnwindSafe for ListRange
impl Send for ListRange
impl Sync for ListRange
impl Unpin for ListRange
impl UnwindSafe for ListRange
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