pub enum ParameterType {
Type(Type),
Array(Array),
VarArgs,
}
Variants§
Trait Implementations§
Source§impl Clone for ParameterType
impl Clone for ParameterType
Source§fn clone(&self) -> ParameterType
fn clone(&self) -> ParameterType
Returns a copy 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 ParameterType
impl Debug for ParameterType
Source§impl From<AnyType> for ParameterType
impl From<AnyType> for ParameterType
Source§impl From<Type> for ParameterType
impl From<Type> for ParameterType
Source§impl XmlDeserialize for ParameterType
impl XmlDeserialize for ParameterType
fn deserialize<B: BufRead>( tag: &[u8], reader: &mut Reader<B>, attrs: Attributes<'_>, is_empty: bool, ) -> Self
A helper function used when ty =
untag
. It could help
us to find out the children tags when deserializingfn de_root() -> Option<&'static [u8]>
§fn __deserialize_from_unparsed_array(
_array: Vec<(&'static [u8], Unparsed)>,
) -> Self
fn __deserialize_from_unparsed_array( _array: Vec<(&'static [u8], Unparsed)>, ) -> Self
A helper function used when handling the untag types. Read more
fn __deserialize_from_text(_: &str) -> Option<Self>where
Self: Sized,
Auto Trait Implementations§
impl Freeze for ParameterType
impl RefUnwindSafe for ParameterType
impl Send for ParameterType
impl Sync for ParameterType
impl Unpin for ParameterType
impl UnwindSafe for ParameterType
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