pub struct ModifyRecord {
pub Domain: String,
pub SubDomain: String,
pub RecordId: u64,
pub RecordType: RecordType,
pub RecordLine: RecordLine,
pub Value: String,
}Expand description
Fields§
§Domain: String域名 示例值:dnspod.cn
SubDomain: String主机记录,如 www,如果不传,默认为 @。 示例值:www
RecordId: u64记录 ID 。可以通过接口 DescribeRecordList 查到所有的解析记录列表以及对应的 RecordId 示例值:162
RecordType: RecordType记录类型,通过 API 记录类型获得,大写英文,比如:A 。 示例值:A
RecordLine: RecordLine记录线路,通过 API 记录线路获得,中文,比如:默认。 示例值:默认
Value: String记录值,如 IP : 200.200.200.200, CNAME : cname.dnspod.com., MX : mail.dnspod.com.。 示例值:200.200.200.200
Trait Implementations§
Source§impl Clone for ModifyRecord
impl Clone for ModifyRecord
Source§fn clone(&self) -> ModifyRecord
fn clone(&self) -> ModifyRecord
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 ModifyRecord
impl Debug for ModifyRecord
Source§impl<'de> Deserialize<'de> for ModifyRecord
impl<'de> Deserialize<'de> for ModifyRecord
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
Source§impl ExtractCommonParams for ModifyRecord
impl ExtractCommonParams for ModifyRecord
Source§impl From<ModifyRecord> for Action
impl From<ModifyRecord> for Action
Source§fn from(v: ModifyRecord) -> Self
fn from(v: ModifyRecord) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ModifyRecord
impl RefUnwindSafe for ModifyRecord
impl Send for ModifyRecord
impl Sync for ModifyRecord
impl Unpin for ModifyRecord
impl UnwindSafe for ModifyRecord
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