Struct instant_epp::contact::update::ContactUpdate
source · 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: Voice<'a>,
auth_password: &'a str
)
pub fn set_info( &mut self, email: &'a str, postal_info: PostalInfo<'a>, voice: Voice<'a>, auth_password: &'a str )
Sets the data for the <chg> tag for the contact update request
sourcepub fn set_fax(&mut self, fax: Fax<'a>)
pub fn set_fax(&mut self, fax: Fax<'a>)
Sets the data for the <fax> tag under <chg> 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> ToXml for ContactUpdate<'a>
impl<'a> ToXml for ContactUpdate<'a>
impl Transaction<NameStore<'_>> for ContactUpdate<'_>
impl<'a> Transaction<NoExtension> for ContactUpdate<'a>
Auto Trait Implementations§
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