Struct dnsimple::dnsimple::templates::Templates[][src]

pub struct Templates<'a> {
    pub client: &'a Client,
}
Expand description

The Templates Service handles the domains templates of the DNSimple API.

See API Documentation: templates

Fields

client: &'a Client

Implementations

List templates in the account.

Arguments

account_id: The account id options: The RequestOptions for sorting, etc.

Create a template in the account

Arguments

account_id: The account id payload: The Template payload with the information to create the template

Retrieve a template in the account

Arguments

account_id: The account id template: The template name or id

Update a template in the account

Arguments

account_id: The account id template: The template name or id payload: The Template payload with the information to create the template

Deletes a template from the account

Arguments

account_id: The account id template: The template name or id

List template records

Arguments

account_id: The account id template: The template name or id

Create a template record

Arguments

account_id: The account id template: The template name or id payload: The TemplateRecordPayload with the information needed to create the template record

Retrieve a template record

Arguments

account_id: The account id template: The template name or id record: The record id

Delete a template record

Arguments

account_id: The account id template: The template name or id record: The record id

Applies a template to a domain.

Arguments

account_id: The account id domain: The domain name or id template: The template id or short name

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.