Struct instant_epp::contact::ContactAuthInfo
source · pub struct ContactAuthInfo<'a> {
pub password: Cow<'a, str>,
}Expand description
The <authInfo> tag for domain and contact transactions
Fields§
§password: Cow<'a, str>The <pw> tag under <authInfo>
Implementations§
Trait Implementations§
source§impl<'a> Clone for ContactAuthInfo<'a>
impl<'a> Clone for ContactAuthInfo<'a>
source§fn clone(&self) -> ContactAuthInfo<'a>
fn clone(&self) -> ContactAuthInfo<'a>
Returns a copy 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<'a> Debug for ContactAuthInfo<'a>
impl<'a> Debug for ContactAuthInfo<'a>
source§impl<'a, 'xml> FromXml<'xml> for ContactAuthInfo<'a>
impl<'a, 'xml> FromXml<'xml> for ContactAuthInfo<'a>
fn matches(id: Id<'_>, field: Option<Id<'_>>) -> bool
fn deserialize<'cx>( into: &mut Self::Accumulator, field: &'static str, deserializer: &mut Deserializer<'cx, 'xml> ) -> Result<(), Error>
type Accumulator = Option<ContactAuthInfo<'a>>
const KIND: Kind = ::instant_xml::Kind::Element
source§impl<'a> PartialEq for ContactAuthInfo<'a>
impl<'a> PartialEq for ContactAuthInfo<'a>
source§fn eq(&self, other: &ContactAuthInfo<'a>) -> bool
fn eq(&self, other: &ContactAuthInfo<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<'a> ToXml for ContactAuthInfo<'a>
impl<'a> ToXml for ContactAuthInfo<'a>
impl<'a> StructuralPartialEq for ContactAuthInfo<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ContactAuthInfo<'a>
impl<'a> Send for ContactAuthInfo<'a>
impl<'a> Sync for ContactAuthInfo<'a>
impl<'a> Unpin for ContactAuthInfo<'a>
impl<'a> UnwindSafe for ContactAuthInfo<'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