Struct xmpp_parsers::message_correct::Replace
source · pub struct Replace {
pub id: String,
}
Expand description
Defines that the message containing this payload should replace a previous message, identified by the id.
Fields§
§id: String
The ‘id’ attribute of the message getting corrected.
Trait Implementations§
source§impl FromXml for Replace
impl FromXml for Replace
§type Builder = ReplaceFromXmlBuilder
type Builder = ReplaceFromXmlBuilder
A builder type used to construct the element. Read more
source§fn from_events(
name: QName,
attrs: AttrMap,
) -> Result<Self::Builder, FromEventsError>
fn from_events( name: QName, attrs: AttrMap, ) -> Result<Self::Builder, FromEventsError>
Attempt to initiate the streamed construction of this struct from XML. Read more
source§impl PartialEq for Replace
impl PartialEq for Replace
impl MessagePayload for Replace
impl StructuralPartialEq for Replace
Auto Trait Implementations§
impl Freeze for Replace
impl RefUnwindSafe for Replace
impl Send for Replace
impl Sync for Replace
impl Unpin for Replace
impl UnwindSafe for Replace
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)