pub struct CheckedHost {
pub name: Name,
pub reason: Option<Reason>,
}Fields§
§name: NameData under the <name> tag
reason: Option<Reason>Data under the <reason> tag
Trait Implementations§
Source§impl Debug for CheckedHost
impl Debug for CheckedHost
Source§impl<'xml> FromXml<'xml> for CheckedHost
impl<'xml> FromXml<'xml> for CheckedHost
Source§type Accumulator = Option<CheckedHost>
type Accumulator = Option<CheckedHost>
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 CheckedHost
impl RefUnwindSafe for CheckedHost
impl Send for CheckedHost
impl Sync for CheckedHost
impl Unpin for CheckedHost
impl UnsafeUnpin for CheckedHost
impl UnwindSafe for CheckedHost
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