pub struct Any {
pub id: Option<String>,
pub namespace: Option<NamespaceListType>,
pub not_namespace: Option<NotNamespaceType>,
pub process_contents: ProcessContentsType,
pub not_q_name: Option<QnameListType>,
pub min_occurs: usize,
pub max_occurs: MaxOccurs,
pub annotation: Option<Annotation>,
}Fields§
§id: Option<String>§namespace: Option<NamespaceListType>§not_namespace: Option<NotNamespaceType>§process_contents: ProcessContentsType§not_q_name: Option<QnameListType>§min_occurs: usize§max_occurs: MaxOccurs§annotation: Option<Annotation>Implementations§
Source§impl Any
impl Any
pub fn default_process_contents() -> ProcessContentsType
pub fn default_min_occurs() -> usize
pub fn default_max_occurs() -> MaxOccurs
Trait Implementations§
Source§impl<'de> Deserializer<'de, Any> for Box<AnyDeserializer>
impl<'de> Deserializer<'de, Any> for Box<AnyDeserializer>
Source§fn init(
helper: &mut DeserializeHelper,
event: Event<'de>,
) -> DeserializerResult<'de, Any>
fn init( helper: &mut DeserializeHelper, event: Event<'de>, ) -> DeserializerResult<'de, Any>
Source§fn next(
self,
helper: &mut DeserializeHelper,
event: Event<'de>,
) -> DeserializerResult<'de, Any>
fn next( self, helper: &mut DeserializeHelper, event: Event<'de>, ) -> DeserializerResult<'de, Any>
Source§impl WithDeserializer for Any
impl WithDeserializer for Any
Source§type Deserializer = Box<AnyDeserializer>
type Deserializer = Box<AnyDeserializer>
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>
impl Eq for Any
impl StructuralPartialEq for Any
Auto Trait Implementations§
impl Freeze for Any
impl RefUnwindSafe for Any
impl Send for Any
impl Sync for Any
impl Unpin for Any
impl UnwindSafe for Any
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.