pub struct RecordListItem {Show 14 fields
pub RecordId: Integer,
pub Value: String,
pub Status: String,
pub UpdatedOn: Timestamp,
pub Name: String,
pub Line: String,
pub LineId: String,
pub Type: String,
pub Weight: Option<Integer>,
pub MonitorStatus: String,
pub Remark: String,
pub TTL: Integer,
pub MX: Option<Integer>,
pub DefaultNS: Option<Boolean>,
}Fields§
§RecordId: Integer记录Id 示例值:1
Value: StringString 记录值 示例值:1.1.1.1
Status: StringStatus String 记录状态,启用:ENABLE,暂停:DISABLE 示例值:ENABLE
UpdatedOn: TimestampUpdatedOn Timestamp 更新时间 示例值:2021-03-28 11:27:09
Name: StringName String 主机名 示例值:www
Line: StringLine String 记录线路 示例值:默认
LineId: StringLineId String 线路Id 示例值:0
Type: StringType String 记录类型 示例值:A
Weight: Option<Integer>Weight Integer 记录权重,用于负载均衡记录 注意:此字段可能返回 null,表示取不到有效值。 示例值:20
MonitorStatus: StringMonitorStatus String 记录监控状态,正常:OK,告警:WARN,宕机:DOWN,未设置监控或监控暂停则为空 示例值:OK
Remark: StringRemark String 记录备注说明 示例值:用于api
TTL: IntegerTTL Integer 记录缓存时间 示例值:600
MX: Option<Integer>MX Integer MX值,只有MX记录有 注意:此字段可能返回 null,表示取不到有效值。 示例值:10
DefaultNS: Option<Boolean>DefaultNS Boolean 是否是默认的ns记录 示例值:true
Trait Implementations§
Source§impl Clone for RecordListItem
impl Clone for RecordListItem
Source§fn clone(&self) -> RecordListItem
fn clone(&self) -> RecordListItem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RecordListItem
impl Debug for RecordListItem
Source§impl<'de> Deserialize<'de> for RecordListItem
impl<'de> Deserialize<'de> for RecordListItem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RecordListItem
impl RefUnwindSafe for RecordListItem
impl Send for RecordListItem
impl Sync for RecordListItem
impl Unpin for RecordListItem
impl UnwindSafe for RecordListItem
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