Struct epp_client::host::update::HostUpdate
source · pub struct HostUpdate<'a> { /* private fields */ }
Expand description
Type for EPP XML <update> command for hosts
Implementations§
source§impl<'a> HostUpdate<'a>
impl<'a> HostUpdate<'a>
pub fn new(name: &'a str) -> Self
sourcepub fn info(&mut self, info: HostChangeInfo<'a>)
pub fn info(&mut self, info: HostChangeInfo<'a>)
Sets the data for the <chg> element of the host update
sourcepub fn add(&mut self, add: HostAddRemove<'a>)
pub fn add(&mut self, add: HostAddRemove<'a>)
Sets the data for the <add> element of the host update
sourcepub fn remove(&mut self, remove: HostAddRemove<'a>)
pub fn remove(&mut self, remove: HostAddRemove<'a>)
Sets the data for the <rem> element of the host update