pub struct EppResult {
pub code: ResultCode,
pub message: String,
pub ext_value: Option<ExtValue>,
}
Expand description
Type corresponding to the <result>
tag in an EPP response XML
Fields§
§code: ResultCode
The result code
message: String
The result message
ext_value: Option<ExtValue>
Data under the <extValue>
tag
Trait Implementations§
Source§impl<'xml> FromXml<'xml> for EppResult
impl<'xml> FromXml<'xml> for EppResult
const KIND: Kind = ::instant_xml::Kind::Element
type Accumulator = Option<EppResult>
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>
impl Eq for EppResult
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 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