pub struct DomainCreateRequestData<'a> {
pub xmlns: &'a str,
pub name: StringValue<'a>,
pub period: Period,
pub ns: Option<HostList<'a>>,
pub registrant: Option<StringValue<'a>>,
pub contacts: Option<&'a [DomainContact<'a>]>,
pub auth_info: DomainAuthInfo<'a>,
}
Expand description
Type for elements under the domain <create> tag
Fields§
§xmlns: &'a str
XML namespace for domain commands
name: StringValue<'a>
The domain name
period: Period
The period of registration
ns: Option<HostList<'a>>
The list of nameserver hosts
either of type HostObjList
or HostAttrList
registrant: Option<StringValue<'a>>
The domain registrant
contacts: Option<&'a [DomainContact<'a>]>
The list of contacts for the domain
auth_info: DomainAuthInfo<'a>
The auth info for the domain
Trait Implementations§
Source§impl<'a> Debug for DomainCreateRequestData<'a>
impl<'a> Debug for DomainCreateRequestData<'a>
Auto Trait Implementations§
impl<'a> Freeze for DomainCreateRequestData<'a>
impl<'a> RefUnwindSafe for DomainCreateRequestData<'a>
impl<'a> Send for DomainCreateRequestData<'a>
impl<'a> Sync for DomainCreateRequestData<'a>
impl<'a> Unpin for DomainCreateRequestData<'a>
impl<'a> UnwindSafe for DomainCreateRequestData<'a>
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