pub struct CheckedDomain {
pub name: Name,
pub reason: Option<Reason>,
}Fields§
§name: NameData under the <cd> tag
reason: Option<Reason>Data under the <reason> tag
Trait Implementations§
Source§impl Debug for CheckedDomain
impl Debug for CheckedDomain
Source§impl<'xml> FromXml<'xml> for CheckedDomain
impl<'xml> FromXml<'xml> for CheckedDomain
Source§type Accumulator = Option<CheckedDomain>
type Accumulator = Option<CheckedDomain>
The accumulator type used during deserialization
Source§fn matches(id: Id<'_>, field: Option<Id<'_>>) -> bool
fn matches(id: Id<'_>, field: Option<Id<'_>>) -> bool
Check if an element or attribute matches this type
Source§fn deserialize<'cx>(
into: &mut Self::Accumulator,
field: &'static str,
deserializer: &mut Deserializer<'cx, 'xml>,
) -> Result<(), Error>
fn deserialize<'cx>( into: &mut Self::Accumulator, field: &'static str, deserializer: &mut Deserializer<'cx, 'xml>, ) -> Result<(), Error>
Deserialize from XML into an accumulator
Auto Trait Implementations§
impl Freeze for CheckedDomain
impl RefUnwindSafe for CheckedDomain
impl Send for CheckedDomain
impl Sync for CheckedDomain
impl Unpin for CheckedDomain
impl UnsafeUnpin for CheckedDomain
impl UnwindSafe for CheckedDomain
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