pub enum ExpiryType {
Absolute(Absolute),
Relative(Relative),
}Expand description
Type corresponding to possible <expiry> type values
Variants§
Trait Implementations§
Source§impl Debug for ExpiryType
impl Debug for ExpiryType
Source§impl<'xml> FromXml<'xml> for ExpiryType
impl<'xml> FromXml<'xml> for ExpiryType
const KIND: Kind = ::instant_xml::Kind::Element
type Accumulator = Option<ExpiryType>
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 ExpiryType
impl PartialEq for ExpiryType
impl Eq for ExpiryType
impl StructuralPartialEq for ExpiryType
Auto Trait Implementations§
impl Freeze for ExpiryType
impl RefUnwindSafe for ExpiryType
impl Send for ExpiryType
impl Sync for ExpiryType
impl Unpin for ExpiryType
impl UnwindSafe for ExpiryType
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