pub struct Feature {
pub var: String,
}
Expand description
Structure representing a <feature xmlns='http://jabber.org/protocol/disco#info'/>
element.
Fields§
§var: String
Namespace of the feature we want to represent.
Implementations§
Trait Implementations§
Source§impl TryFrom<Element> for Feature
impl TryFrom<Element> for Feature
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl Eq for Feature
impl StructuralPartialEq for Feature
Auto Trait Implementations§
impl Freeze for Feature
impl RefUnwindSafe for Feature
impl Send for Feature
impl Sync for Feature
impl Unpin for Feature
impl UnwindSafe for Feature
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