pub struct Retract {
pub node: NodeName,
pub notify: bool,
pub items: Vec<Item>,
}Expand description
A request to retract some items from a node.
Fields§
§node: NodeNameThe node affected by this request.
notify: boolWhether a retract request should notify subscribers or not.
items: Vec<Item>The items affected by this request.
Trait Implementations§
Source§impl AsXml for Retract
impl AsXml for Retract
Source§impl FromXml for Retract
impl FromXml for Retract
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 moreSource§impl TryFrom<Element> for Retract
impl TryFrom<Element> for Retract
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for Retract
Auto Trait Implementations§
impl Freeze for Retract
impl RefUnwindSafe for Retract
impl Send for Retract
impl Sync for Retract
impl Unpin for Retract
impl UnwindSafe for Retract
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