pub enum PurposeType {
Admin(Admin),
Contact(Contact),
Prov(Prov),
OtherPurpose(OtherPurpose),
}Expand description
Type corresponding to possible <purpose> type values
Variants§
Admin(Admin)
Data for the <admin> tag
Contact(Contact)
Data for the <contact> tag
Prov(Prov)
Data for the <prov> tag
OtherPurpose(OtherPurpose)
Data for the <other> tag
Trait Implementations§
Source§impl Debug for PurposeType
impl Debug for PurposeType
Source§impl<'xml> FromXml<'xml> for PurposeType
impl<'xml> FromXml<'xml> for PurposeType
const KIND: Kind = ::instant_xml::Kind::Element
type Accumulator = Option<PurposeType>
fn matches(id: Id<'_>, field: Option<Id<'_>>) -> bool
fn deserialize<'cx>( into: &mut Self::Accumulator, field: &'static str, deserializer: &mut Deserializer<'cx, 'xml>, ) -> Result<(), Error>
Source§impl PartialEq for PurposeType
impl PartialEq for PurposeType
impl Eq for PurposeType
impl StructuralPartialEq for PurposeType
Auto Trait Implementations§
impl Freeze for PurposeType
impl RefUnwindSafe for PurposeType
impl Send for PurposeType
impl Sync for PurposeType
impl Unpin for PurposeType
impl UnwindSafe for PurposeType
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