RecordInfo

Struct RecordInfo 

Source
pub struct RecordInfo {
Show 14 fields pub Id: Integer, pub SubDomain: String, pub RecordType: String, pub RecordLine: String, pub RecordLineId: String, pub Value: String, pub Weight: Option<Integer>, pub MX: Integer, pub TTL: Integer, pub Enabled: Integer, pub MonitorStatus: String, pub Remark: Option<String>, pub UpdatedOn: Timestamp, pub DomainId: Integer,
}

Fields§

§Id: Integer

Id Integer 记录 ID 。 示例值:158

§SubDomain: String

SubDomain String 子域名(主机记录)。 示例值:www

§RecordType: String

RecordType String 记录类型, 详见 DescribeRecordType 接口。 示例值:A

§RecordLine: String

RecordLine String 解析记录的线路,详见 DescribeRecordLineList 接口。 示例值:百度

§RecordLineId: String

RecordLineId String 解析记录的线路 ID ,详见 DescribeRecordLineList 接口。 示例值:90=0

§Value: String

Value String 记录值。 示例值:129.23.32.32

§Weight: Option<Integer>

Weight Integer 记录权重值。 注意:此字段可能返回 null,表示取不到有效值。 示例值:10

§MX: Integer

MX Integer 记录的 MX 记录值,非 MX 记录类型,默认为 0。 示例值:20

§TTL: Integer

TTL Integer 记录的 TTL 值。 示例值:600

§Enabled: Integer

Enabled Integer 记录状态。0表示禁用,1表示启用。 示例值:1

§MonitorStatus: String

MonitorStatus String 该记录的 D 监控状态。 “Ok” : 服务器正常。 “Warn” : 该记录有报警, 服务器返回 4XX。 “Down” : 服务器宕机。 “” : 该记录未开启 D 监控。 示例值:Ok

§Remark: Option<String>

Remark String 记录的备注。 注意:此字段可能返回 null,表示取不到有效值。 示例值:这是解析记录的备注

§UpdatedOn: Timestamp

UpdatedOn Timestamp 记录最后更新时间。 示例值:2021-03-31 11:38:02

§DomainId: Integer

DomainId Integer 域名 ID 。 示例值:62

Trait Implementations§

Source§

impl Clone for RecordInfo

Source§

fn clone(&self) -> RecordInfo

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 RecordInfo

Source§

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

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

impl<'de> Deserialize<'de> for RecordInfo

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 RecordInfo

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>,