pub enum DomainCommands {
Show 17 variants
List {
limit: Option<i32>,
offset: Option<i32>,
},
Info {
id: String,
},
Check {
domain: String,
},
Add {
domain: String,
},
Delete {
id: String,
},
DnsList {
id: String,
},
DnsAdd {
id: String,
record_type: String,
value: String,
},
DnsDelete {
id: String,
record_id: i32,
},
DnsUpdate {
id: String,
record_id: i32,
record_type: String,
value: String,
},
NsList {
id: String,
},
NsUpdate {
id: String,
ns1: String,
ns2: String,
},
SubdomainList {
id: String,
},
SubdomainAdd {
id: String,
name: String,
},
SubdomainDelete {
id: String,
name: String,
},
RequestList,
TldList,
AutoProlong {
id: String,
enabled: bool,
},
}Expand description
Domain management subcommands.
Variants§
List
List all domains on the account.
Fields
Info
Show detailed info for a domain.
Check
Check if a domain is available for registration.
Add
Add a domain to the account.
Delete
Delete a domain from the account.
DnsList
List DNS records for a domain.
DnsAdd
Add a DNS record to a domain.
Fields
DnsDelete
Delete a DNS record from a domain.
DnsUpdate
Update a DNS record on a domain.
Fields
NsList
List name servers for a domain.
NsUpdate
Update name servers for a domain.
Fields
SubdomainList
List subdomains for a domain.
SubdomainAdd
Add a subdomain to a domain.
SubdomainDelete
Delete a subdomain from a domain.
Fields
RequestList
List domain registration/transfer/prolongation requests.
TldList
List available TLDs (top-level domains).
AutoProlong
Toggle auto-prolongation for a domain.
Trait Implementations§
Source§impl Debug for DomainCommands
impl Debug for DomainCommands
Source§impl FromArgMatches for DomainCommands
impl FromArgMatches for DomainCommands
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Subcommand for DomainCommands
impl Subcommand for DomainCommands
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for DomainCommands
impl RefUnwindSafe for DomainCommands
impl Send for DomainCommands
impl Sync for DomainCommands
impl Unpin for DomainCommands
impl UnsafeUnpin for DomainCommands
impl UnwindSafe for DomainCommands
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more