DomainListItem

Struct DomainListItem 

Source
pub struct DomainListItem {
Show 23 fields pub DomainId: Integer, pub Name: String, pub Status: String, pub TTL: Integer, pub CNAMESpeedup: String, pub DNSStatus: String, pub Grade: String, pub GroupId: Integer, pub SearchEnginePush: String, pub Remark: String, pub Punycode: String, pub EffectiveDNS: Vec<String>, pub GradeLevel: Integer, pub GradeTitle: String, pub IsVip: String, pub VipStartAt: Timestamp, pub VipEndAt: Timestamp, pub VipAutoRenew: String, pub RecordCount: Integer, pub CreatedOn: Timestamp, pub UpdatedOn: Timestamp, pub Owner: String, pub TagList: Option<Vec<TagItem>>,
}

Fields§

§DomainId: Integer

DomainId Integer 系统分配给域名的唯一标识 示例值:12

§Name: String

Name String 域名的原始格式 示例值:qq.com

§Status: String

Status String 域名的状态,正常:ENABLE,暂停:PAUSE,封禁:SPAM 示例值:ENABLE

§TTL: Integer

TTL Integer 域名默认的解析记录默认TTL值 示例值:600

§CNAMESpeedup: String

CNAMESpeedup String 是否开启CNAME加速,开启:ENABLE,未开启:DISABLE 示例值:DISABLE

§DNSStatus: String

DNSStatus String DNS 设置状态,错误:DNSERROR,正常:空字符串 示例值:DNSERROR

§Grade: String

Grade String 域名的套餐等级代码 示例值:DP_FREE

§GroupId: Integer

GroupId Integer 域名所属的分组Id 示例值:1

§SearchEnginePush: String

SearchEnginePush String 是否开启搜索引擎推送优化,是:YES,否:NO 示例值:NO

§Remark: String

Remark String 域名备注说明 示例值:重要域名

§Punycode: String

Punycode String 经过punycode编码后的域名格式 示例值:xn–a9.com

§EffectiveDNS: Vec<String>

EffectiveDNS Array of String 系统为域名分配的有效DNS 示例值:[“f1g1ns1.dnspod.net”,“f1g1ns2.dnspod.net”]

§GradeLevel: Integer

GradeLevel Integer 域名套餐等级对应的序号 示例值:5

§GradeTitle: String

GradeTitle String 套餐名称 示例值:免费版

§IsVip: String

IsVip String 是否是付费套餐 示例值:YES

§VipStartAt: Timestamp

VipStartAt Timestamp 付费套餐开通时间 示例值:2021-04-07 13:34:20

§VipEndAt: Timestamp

VipEndAt Timestamp 付费套餐到期时间 示例值:2022-04-07 13:34:20

§VipAutoRenew: String

VipAutoRenew String 域名是否开通VIP自动续费,是:YES,否:NO,默认:DEFAULT 示例值:YES

§RecordCount: Integer

RecordCount Integer 域名下的记录数量 示例值:20

§CreatedOn: Timestamp

CreatedOn Timestamp 域名添加时间 示例值:2020-05-21 16:08:29

§UpdatedOn: Timestamp

UpdatedOn Timestamp 域名更新时间 示例值:2021-04-01 18:09:58

§Owner: String

Owner String 域名所属账号 示例值:abc@tencent.com

§TagList: Option<Vec<TagItem>>

TagList Array of TagItem 域名关联的标签列表 注意:此字段可能返回 null,表示取不到有效值。

Trait Implementations§

Source§

impl Clone for DomainListItem

Source§

fn clone(&self) -> DomainListItem

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for DomainListItem

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for DomainListItem

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for DomainListItem

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,