pub struct DomainCreateRequestData<'a> {
pub name: &'a str,
pub period: Period,
pub ns: Option<NameServers<'a>>,
pub registrant: Option<&'a str>,
pub contacts: Option<&'a [DomainContact<'a>]>,
pub auth_info: DomainAuthInfo<'a>,
}Expand description
Type for elements under the domain <create> tag
Fields§
§name: &'a strThe domain name
period: PeriodThe period of registration
ns: Option<NameServers<'a>>The list of nameserver hosts
either of type HostObjList or HostAttrList
registrant: Option<&'a str>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