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§
Source§impl<'xml> FromXml<'xml> for Greeting
impl<'xml> FromXml<'xml> for Greeting
const KIND: Kind = ::instant_xml::Kind::Element
type Accumulator = Option<Greeting>
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 Greeting
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 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