pub struct Dcp {
pub access: Access,
pub statement: Vec<Statement>,
pub expiry: Option<Expiry>,
}Expand description
Type corresponding to <dcp> in the EPP greeting XML
Fields§
§access: AccessData for the <access> tag
statement: Vec<Statement>Data for the <statement> tags
expiry: Option<Expiry>Data for the <expiry> tag
Trait Implementations§
impl Eq for Dcp
Source§impl<'xml> FromXml<'xml> for Dcp
impl<'xml> FromXml<'xml> for Dcp
Source§type Accumulator = Option<Dcp>
type Accumulator = Option<Dcp>
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 Dcp
Auto Trait Implementations§
impl Freeze for Dcp
impl RefUnwindSafe for Dcp
impl Send for Dcp
impl Sync for Dcp
impl Unpin for Dcp
impl UnsafeUnpin for Dcp
impl UnwindSafe for Dcp
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