Enum instant_epp::hello::ExpiryType
source · 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
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<ExpiryType>
const KIND: Kind = ::instant_xml::Kind::Element
source§impl PartialEq for ExpiryType
impl PartialEq for ExpiryType
source§fn eq(&self, other: &ExpiryType) -> bool
fn eq(&self, other: &ExpiryType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for ExpiryType
impl StructuralEq for ExpiryType
impl StructuralPartialEq for ExpiryType
Auto Trait Implementations§
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