pub struct ContactUpdate<'a> { /* private fields */ }Expand description
Type for EPP XML <update> command for contacts
Implementations§
Source§impl<'a> ContactUpdate<'a>
impl<'a> ContactUpdate<'a>
pub fn new(id: &'a str) -> ContactUpdate<'_>
Sourcepub fn set_info(
&mut self,
email: &'a str,
postal_info: PostalInfo<'a>,
voice: Phone<'a>,
auth_password: &'a str,
)
pub fn set_info( &mut self, email: &'a str, postal_info: PostalInfo<'a>, voice: Phone<'a>, auth_password: &'a str, )
Sets the data for the <chg> tag for the contact update request
Sourcepub fn set_fax(&mut self, fax: Phone<'a>)
pub fn set_fax(&mut self, fax: Phone<'a>)
Sets the data for the <fax> tag under <chg> for the contact update request
Sourcepub fn add(&mut self, status: &'a [ObjectStatus<'_>])
pub fn add(&mut self, status: &'a [ObjectStatus<'_>])
Sets the data for the <add> tag for the contact update request
Sourcepub fn remove(&mut self, status: &'a [ObjectStatus<'_>])
pub fn remove(&mut self, status: &'a [ObjectStatus<'_>])
Sets the data for the <rem> tag for the contact update request
Trait Implementations§
Source§impl<'a> Command for ContactUpdate<'a>
impl<'a> Command for ContactUpdate<'a>
Source§impl<'a> Debug for ContactUpdate<'a>
impl<'a> Debug for ContactUpdate<'a>
Source§impl<'a> Serialize for ContactUpdate<'a>
impl<'a> Serialize for ContactUpdate<'a>
impl Transaction<NameStore<'_>> for ContactUpdate<'_>
impl<'a> Transaction<NoExtension> for ContactUpdate<'a>
Auto Trait Implementations§
impl<'a> Freeze for ContactUpdate<'a>
impl<'a> RefUnwindSafe for ContactUpdate<'a>
impl<'a> Send for ContactUpdate<'a>
impl<'a> Sync for ContactUpdate<'a>
impl<'a> Unpin for ContactUpdate<'a>
impl<'a> UnwindSafe for ContactUpdate<'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