pub enum MaxOccurs {
Unbounded,
Bounded(usize),
}Expand description
Represents the maximum occurrence of types or elements
Variants§
Unbounded
The occurrence is unbounded.
Bounded(usize)
The occurrence is bound to the specified limit.
Trait Implementations§
Source§impl AddAssign for MaxOccurs
impl AddAssign for MaxOccurs
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl<'de> Deserialize<'de> for MaxOccurs
impl<'de> Deserialize<'de> for MaxOccurs
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 MulAssign for MaxOccurs
impl MulAssign for MaxOccurs
Source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*= operation. Read moreSource§impl Ord for MaxOccurs
impl Ord for MaxOccurs
Source§impl PartialOrd for MaxOccurs
impl PartialOrd for MaxOccurs
impl Copy for MaxOccurs
impl Eq for MaxOccurs
impl StructuralPartialEq for MaxOccurs
Auto Trait Implementations§
impl Freeze for MaxOccurs
impl RefUnwindSafe for MaxOccurs
impl Send for MaxOccurs
impl Sync for MaxOccurs
impl Unpin for MaxOccurs
impl UnwindSafe for MaxOccurs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<X> DeserializeBytes for X
impl<X> DeserializeBytes for X
Source§impl<'de, R, X> DeserializeSync<'de, R> for Xwhere
R: XmlReaderSync<'de>,
X: WithDeserializer,
impl<'de, R, X> DeserializeSync<'de, R> for Xwhere
R: XmlReaderSync<'de>,
X: WithDeserializer,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<X> WithDeserializer for Xwhere
X: DeserializeBytes + Debug,
impl<X> WithDeserializer for Xwhere
X: DeserializeBytes + Debug,
Source§type Deserializer = ContentDeserializer<X>
type Deserializer = ContentDeserializer<X>
The deserializer to use for this type.