pub enum XpathDefaultNamespaceType {
String(String),
DefaultNamespace,
TargetNamespace,
Local,
}Variants§
Trait Implementations§
Source§impl Clone for XpathDefaultNamespaceType
impl Clone for XpathDefaultNamespaceType
Source§fn clone(&self) -> XpathDefaultNamespaceType
fn clone(&self) -> XpathDefaultNamespaceType
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 XpathDefaultNamespaceType
impl Debug for XpathDefaultNamespaceType
Source§impl DeserializeBytes for XpathDefaultNamespaceType
impl DeserializeBytes for XpathDefaultNamespaceType
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 moreimpl Eq for XpathDefaultNamespaceType
impl StructuralPartialEq for XpathDefaultNamespaceType
Auto Trait Implementations§
impl Freeze for XpathDefaultNamespaceType
impl RefUnwindSafe for XpathDefaultNamespaceType
impl Send for XpathDefaultNamespaceType
impl Sync for XpathDefaultNamespaceType
impl Unpin for XpathDefaultNamespaceType
impl UnwindSafe for XpathDefaultNamespaceType
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