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
const KIND: Kind = ::instant_xml::Kind::Element
type Accumulator = Option<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>
Source§impl PartialEq for RecipientType
impl PartialEq for RecipientType
impl Eq for RecipientType
impl StructuralPartialEq for RecipientType
Auto Trait Implementations§
impl Freeze for RecipientType
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