pub struct ResultValue {
pub attributes: Vec<AnyAttribute<'static>>,
pub inner: AnyElement<'static>,
}Expand description
Type corresponding to the <value> tag (errValueType) in an EPP response XML.
Contains arbitrary XML children.
Per RFC 5730, errValueType is
<complexType name="errValueType" mixed="true">
<sequence>
<any namespace="##any" processContents="skip" />
</sequence>
<anyAttribute namespace="##any" processContents="skip" />
</complexType>This means that the <value> element can contain arbitrary nested XML elements
Fields§
§attributes: Vec<AnyAttribute<'static>>Attributes on the <value> element itself (from anyAttribute)
inner: AnyElement<'static>The captured the inner element
Trait Implementations§
Source§impl Clone for ResultValue
impl Clone for ResultValue
Source§impl Debug for ResultValue
impl Debug for ResultValue
impl Eq for ResultValue
Source§impl<'xml> FromXml<'xml> for ResultValue
impl<'xml> FromXml<'xml> for ResultValue
Source§type Accumulator = Option<ResultValue>
type Accumulator = Option<ResultValue>
The accumulator type used during deserialization
Source§fn matches(id: Id<'_>, field: Option<Id<'_>>) -> bool
fn matches(id: Id<'_>, field: Option<Id<'_>>) -> bool
Check if an element or attribute matches this type
Source§fn deserialize<'cx>(
into: &mut Self::Accumulator,
_field: &'static str,
deserializer: &mut Deserializer<'cx, 'xml>,
) -> Result<(), Error>
fn deserialize<'cx>( into: &mut Self::Accumulator, _field: &'static str, deserializer: &mut Deserializer<'cx, 'xml>, ) -> Result<(), Error>
Deserialize from XML into an accumulator
Source§impl PartialEq for ResultValue
impl PartialEq for ResultValue
impl StructuralPartialEq for ResultValue
Auto Trait Implementations§
impl Freeze for ResultValue
impl RefUnwindSafe for ResultValue
impl Send for ResultValue
impl Sync for ResultValue
impl Unpin for ResultValue
impl UnsafeUnpin for ResultValue
impl UnwindSafe for ResultValue
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