pub enum PollData {
DomainTransfer(TransferData),
DomainInfo(InfoData),
HostInfo(InfoData),
LowBalance(LowBalance),
RgpPoll(RgpPollData),
}Expand description
Type that represents the <resData> tag for message poll response
Variants§
DomainTransfer(TransferData)
Data under the <domain:trnData> tag
DomainInfo(InfoData)
Data under the <domain:infData> tag
HostInfo(InfoData)
Data under the <host:infData> tag
LowBalance(LowBalance)
Data under the <lowbalance> tag
RgpPoll(RgpPollData)
Data under the <rgp-poll:pollData> tag
Trait Implementations§
Source§impl<'xml> FromXml<'xml> for PollData
impl<'xml> FromXml<'xml> for PollData
Source§type Accumulator = Option<PollData>
type Accumulator = Option<PollData>
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 PollData
impl RefUnwindSafe for PollData
impl Send for PollData
impl Sync for PollData
impl Unpin for PollData
impl UnsafeUnpin for PollData
impl UnwindSafe for PollData
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