pub enum PollData {
DomainTransfer(TransferData),
HostInfo(InfoData),
LowBalance(LowBalance),
RgpPoll(RgpPollData),
}Expand description
Type that represents the <trnData> tag for message poll response
Variants§
DomainTransfer(TransferData)
Data under the <domain:trnData> 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
const KIND: Kind = ::instant_xml::Kind::Element
type Accumulator = Option<PollData>
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>
Auto Trait Implementations§
impl Freeze for PollData
impl RefUnwindSafe for PollData
impl Send for PollData
impl Sync for PollData
impl Unpin 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