Struct dnsimple::dnsimple::tlds::Tlds [−][src]
pub struct Tlds<'a> {
pub client: &'a Client,
}
Expand description
The Tlds Service handles the tlds of the DNSimple API.
Fields
client: &'a Client
Implementations
pub fn list_tlds(
&self,
options: Option<RequestOptions>
) -> Result<DNSimpleResponse<Vec<Tld>>, String>
pub fn list_tlds(
&self,
options: Option<RequestOptions>
) -> Result<DNSimpleResponse<Vec<Tld>>, String>
Returns the list of TLDs supported for registration or transfer.