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: PurposeData for the <purpose> tag
recipient: RecipientData for the <recipient> tag
retention: RetentionData for the <retention> tag
Trait Implementations§
impl Eq for Statement
Source§impl<'xml> FromXml<'xml> for Statement
impl<'xml> FromXml<'xml> for Statement
Source§type Accumulator = Option<Statement>
type Accumulator = Option<Statement>
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 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 UnsafeUnpin 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