pub struct Reactions {
pub id: String,
pub reactions: Vec<Reaction>,
}Expand description
Container for a set of reactions.
Fields§
§id: StringThe id of the message these reactions apply to.
reactions: Vec<Reaction>The list of reactions.
Trait Implementations§
Source§impl AsXml for Reactions
impl AsXml for Reactions
Source§impl FromXml for Reactions
impl FromXml for Reactions
Source§type Builder = ReactionsFromXmlBuilder
type Builder = ReactionsFromXmlBuilder
A builder type used to construct the element. Read more
Source§fn from_events(
name: QName,
attrs: AttrMap,
ctx: &Context<'_>,
) -> Result<Self::Builder, FromEventsError>
fn from_events( name: QName, attrs: AttrMap, ctx: &Context<'_>, ) -> Result<Self::Builder, FromEventsError>
Attempt to initiate the streamed construction of this struct from XML. Read more
Source§fn xml_name_matcher() -> XmlNameMatcher<'static>
fn xml_name_matcher() -> XmlNameMatcher<'static>
Return a predicate which determines if
Self may be parsed from
a given XML element. Read moreimpl MessagePayload for Reactions
impl StructuralPartialEq for Reactions
Auto Trait Implementations§
impl Freeze for Reactions
impl RefUnwindSafe for Reactions
impl Send for Reactions
impl Sync for Reactions
impl Unpin for Reactions
impl UnsafeUnpin for Reactions
impl UnwindSafe for Reactions
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