pub enum RetentionType {
Business(Business),
Indefinite(Indefinite),
Legal(Legal),
None(No),
Stated(Stated),
}Expand description
Type corresponding to possible <retention> type values
Variants§
Business(Business)
Data for the <business> tag
Indefinite(Indefinite)
Data for the <indefinite> tag
Legal(Legal)
Data for the <legal> tag
None(No)
Data for the <none> tag
Stated(Stated)
Data for the <stated> tag
Trait Implementations§
Source§impl Debug for RetentionType
impl Debug for RetentionType
Source§impl<'xml> FromXml<'xml> for RetentionType
impl<'xml> FromXml<'xml> for RetentionType
const KIND: Kind = ::instant_xml::Kind::Element
type Accumulator = Option<RetentionType>
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 RetentionType
impl PartialEq for RetentionType
impl Eq for RetentionType
impl StructuralPartialEq for RetentionType
Auto Trait Implementations§
impl Freeze for RetentionType
impl RefUnwindSafe for RetentionType
impl Send for RetentionType
impl Sync for RetentionType
impl Unpin for RetentionType
impl UnwindSafe for RetentionType
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