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
Trait Implementations§
Source§impl<'a> Command for HostUpdate<'a>
impl<'a> Command for HostUpdate<'a>
Source§impl<'a> Debug for HostUpdate<'a>
impl<'a> Debug for HostUpdate<'a>
Source§impl<'a> Serialize for HostUpdate<'a>
impl<'a> Serialize for HostUpdate<'a>
impl Transaction<NameStore<'_>> for HostUpdate<'_>
impl<'a> Transaction<NoExtension> for HostUpdate<'a>
Auto Trait Implementations§
impl<'a> Freeze for HostUpdate<'a>
impl<'a> RefUnwindSafe for HostUpdate<'a>
impl<'a> Send for HostUpdate<'a>
impl<'a> Sync for HostUpdate<'a>
impl<'a> Unpin for HostUpdate<'a>
impl<'a> UnwindSafe for HostUpdate<'a>
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