pub struct Statement {
pub purpose: Purpose,
pub recipient: Recipient,
pub retention: Retention,
}
Expand description
Type corresponding to <statement>
in the EPP greeting XML (pending more compliant implementation)
Fields§
§purpose: Purpose
Data for the <purpose>
tag
recipient: Recipient
Data for the <recipient>
tag
retention: Retention
Data for the <retention>
tag
Trait Implementations§
Source§impl<'xml> FromXml<'xml> for Statement
impl<'xml> FromXml<'xml> for Statement
const KIND: Kind = ::instant_xml::Kind::Element
type Accumulator = Option<Statement>
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 Statement
impl StructuralPartialEq for Statement
Auto Trait Implementations§
impl Freeze for Statement
impl RefUnwindSafe for Statement
impl Send for Statement
impl Sync for Statement
impl Unpin for Statement
impl UnwindSafe for Statement
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