Enum instant_epp::hello::RecipientType
source · pub enum RecipientType {
Other(Other),
Ours(Ours),
Public(Public),
Same(Same),
Unrelated(Unrelated),
}Expand description
Type corresponding to possible <purpose> type values
Variants§
Other(Other)
Data for the <other> tag
Ours(Ours)
Data for the <ours> tag
Public(Public)
Data for the <public> tag
Same(Same)
Data for the <same> tag
Data for the <unrelated> tag
Trait Implementations§
source§impl Debug for RecipientType
impl Debug for RecipientType
source§impl<'xml> FromXml<'xml> for RecipientType
impl<'xml> FromXml<'xml> for RecipientType
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<RecipientType>
const KIND: Kind = ::instant_xml::Kind::Element
source§impl PartialEq for RecipientType
impl PartialEq for RecipientType
source§fn eq(&self, other: &RecipientType) -> bool
fn eq(&self, other: &RecipientType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for RecipientType
impl StructuralEq for RecipientType
impl StructuralPartialEq for RecipientType
Auto Trait Implementations§
impl RefUnwindSafe for RecipientType
impl Send for RecipientType
impl Sync for RecipientType
impl Unpin for RecipientType
impl UnwindSafe for RecipientType
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