pub enum InfoType {
Local,
International,
}Variants§
Trait Implementations§
impl Copy for InfoType
Source§impl<'xml> FromXml<'xml> for InfoType
impl<'xml> FromXml<'xml> for InfoType
Source§type Accumulator = Option<InfoType>
type Accumulator = Option<InfoType>
The accumulator type used during deserialization
Source§fn matches(id: Id<'_>, field: Option<Id<'_>>) -> bool
fn matches(id: Id<'_>, field: Option<Id<'_>>) -> bool
Check if an element or attribute matches this type
Source§fn deserialize<'cx>(
into: &mut Self::Accumulator,
field: &'static str,
deserializer: &mut Deserializer<'cx, 'xml>,
) -> Result<(), Error>
fn deserialize<'cx>( into: &mut Self::Accumulator, field: &'static str, deserializer: &mut Deserializer<'cx, 'xml>, ) -> Result<(), Error>
Deserialize from XML into an accumulator
impl StructuralPartialEq for InfoType
Auto Trait Implementations§
impl Freeze for InfoType
impl RefUnwindSafe for InfoType
impl Send for InfoType
impl Sync for InfoType
impl Unpin for InfoType
impl UnsafeUnpin for InfoType
impl UnwindSafe for InfoType
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