Enum instant_epp::hello::AccessType
source · pub enum AccessType {
All(All),
NoAccess(NoAccess),
Null(Null),
Personal(Personal),
PersonalAndOther(PersonalAndOther),
Other(Other),
}Expand description
Type corresponding to possible <retention> type values
Variants§
All(All)
Data for the <all> tag
NoAccess(NoAccess)
Data for the <none> tag
Null(Null)
Data for the <null> tag
Personal(Personal)
Data for the <personal> tag
PersonalAndOther(PersonalAndOther)
Data for the <personalAndOther> tag
Other(Other)
Data for the <other> tag
Trait Implementations§
source§impl Debug for AccessType
impl Debug for AccessType
source§impl<'xml> FromXml<'xml> for AccessType
impl<'xml> FromXml<'xml> for AccessType
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<AccessType>
const KIND: Kind = ::instant_xml::Kind::Element
source§impl PartialEq for AccessType
impl PartialEq for AccessType
source§fn eq(&self, other: &AccessType) -> bool
fn eq(&self, other: &AccessType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for AccessType
impl StructuralEq for AccessType
impl StructuralPartialEq for AccessType
Auto Trait Implementations§
impl RefUnwindSafe for AccessType
impl Send for AccessType
impl Sync for AccessType
impl Unpin for AccessType
impl UnwindSafe for AccessType
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