Enum instant_epp::hello::PurposeType
source · 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
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>
type Accumulator = Option<PurposeType>
const KIND: Kind = ::instant_xml::Kind::Element
source§impl PartialEq for PurposeType
impl PartialEq for PurposeType
source§fn eq(&self, other: &PurposeType) -> bool
fn eq(&self, other: &PurposeType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for PurposeType
impl StructuralEq for PurposeType
impl StructuralPartialEq for PurposeType
Auto Trait Implementations§
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