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
const KIND: Kind = ::instant_xml::Kind::Element
type Accumulator = Option<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>
Source§impl PartialEq for AccessType
impl PartialEq for AccessType
impl Eq for AccessType
impl StructuralPartialEq for AccessType
Auto Trait Implementations§
impl Freeze for AccessType
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