pub struct Greeting {
pub service_id: String,
pub service_date: DateTime<Utc>,
pub svc_menu: ServiceMenu,
pub dcp: Dcp,
}Expand description
Type corresponding to the <greeting> tag in the EPP greeting XML
Fields§
§service_id: StringThe service ID
service_date: DateTime<Utc>The date from the EPP server
Data under the <svcMenu> element
dcp: DcpData under the <dcp> element
Trait Implementations§
impl Eq for Greeting
Source§impl<'xml> FromXml<'xml> for Greeting
impl<'xml> FromXml<'xml> for Greeting
Source§type Accumulator = Option<Greeting>
type Accumulator = Option<Greeting>
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 Greeting
Auto Trait Implementations§
impl Freeze for Greeting
impl RefUnwindSafe for Greeting
impl Send for Greeting
impl Sync for Greeting
impl Unpin for Greeting
impl UnsafeUnpin for Greeting
impl UnwindSafe for Greeting
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