pub struct EppResult {
pub code: ResultCode,
pub message: String,
pub values: Vec<ResultValue>,
pub ext_values: Vec<ExtValue>,
}Expand description
Type corresponding to the <result> tag in an EPP response XML
Per RFC 5730, a result can contain zero or more <value> and <extValue>
elements in any order.
Fields§
§code: ResultCodeThe result code
message: StringThe result message
values: Vec<ResultValue>Data under <value> tags
ext_values: Vec<ExtValue>Data under <extValue> tags
Trait Implementations§
impl Eq for EppResult
Source§impl<'xml> FromXml<'xml> for EppResult
impl<'xml> FromXml<'xml> for EppResult
Source§type Accumulator = Option<EppResult>
type Accumulator = Option<EppResult>
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
impl StructuralPartialEq for EppResult
Auto Trait Implementations§
impl Freeze for EppResult
impl RefUnwindSafe for EppResult
impl Send for EppResult
impl Sync for EppResult
impl Unpin for EppResult
impl UnsafeUnpin for EppResult
impl UnwindSafe for EppResult
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