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
impl Eq for AccessType
Source§impl<'xml> FromXml<'xml> for AccessType
impl<'xml> FromXml<'xml> for AccessType
Source§type Accumulator = Option<AccessType>
type Accumulator = Option<AccessType>
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
Source§impl PartialEq for AccessType
impl PartialEq 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 UnsafeUnpin 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