pub enum AttributeUseType {
Prohibited,
Optional,
Required,
}Variants§
Trait Implementations§
Source§impl Clone for AttributeUseType
impl Clone for AttributeUseType
Source§fn clone(&self) -> AttributeUseType
fn clone(&self) -> AttributeUseType
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 AttributeUseType
impl Debug for AttributeUseType
Source§impl DeserializeBytes for AttributeUseType
impl DeserializeBytes for AttributeUseType
Source§fn deserialize_bytes(
helper: &mut DeserializeHelper,
bytes: &[u8],
) -> Result<Self, Error>
fn deserialize_bytes( helper: &mut DeserializeHelper, bytes: &[u8], ) -> Result<Self, Error>
Try to deserialize the type from bytes. Read more
Source§fn deserialize_str(
helper: &mut DeserializeHelper,
s: &str,
) -> Result<Self, Error>
fn deserialize_str( helper: &mut DeserializeHelper, s: &str, ) -> Result<Self, Error>
Optimized version of
deserialize_bytes that
takes a string instead of a bytes slice. Read moreSource§impl Hash for AttributeUseType
impl Hash for AttributeUseType
Source§impl PartialEq for AttributeUseType
impl PartialEq for AttributeUseType
impl Copy for AttributeUseType
impl Eq for AttributeUseType
impl StructuralPartialEq for AttributeUseType
Auto Trait Implementations§
impl Freeze for AttributeUseType
impl RefUnwindSafe for AttributeUseType
impl Send for AttributeUseType
impl Sync for AttributeUseType
impl Unpin for AttributeUseType
impl UnwindSafe for AttributeUseType
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<'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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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.
Source§fn init<'de>(
helper: &mut DeserializeHelper,
event: Event<'de>,
) -> Result<DeserializerOutput<'de, Self>, Error>
fn init<'de>( helper: &mut DeserializeHelper, event: Event<'de>, ) -> Result<DeserializerOutput<'de, Self>, Error>
Source§fn default_deserializer() -> Self::Deserializerwhere
Self::Deserializer: Default,
fn default_deserializer() -> Self::Deserializerwhere
Self::Deserializer: Default,
Create a new default deserializer. Read more
Source§fn default_value(helper: &mut DeserializeHelper) -> Result<Self, Error>where
Self::Deserializer: Default,
fn default_value(helper: &mut DeserializeHelper) -> Result<Self, Error>where
Self::Deserializer: Default,
Create a new default value by creating and default deserializer and
finish it right after. Read more