Struct xmpp_parsers::bookmarks::Url
source · pub struct Url {
pub name: Option<String>,
pub url: String,
}
Expand description
An URL bookmark.
Fields§
§name: Option<String>
A user-defined name for this URL.
url: String
The URL of this bookmark.
Trait Implementations§
source§impl FromXml for Url
impl FromXml for Url
§type Builder = FromEventsViaElement<Url>
type Builder = FromEventsViaElement<Url>
A builder type used to construct the element. Read more
source§fn from_events(
qname: QName,
attrs: AttrMap,
) -> Result<Self::Builder, FromEventsError>
fn from_events( qname: QName, attrs: AttrMap, ) -> Result<Self::Builder, FromEventsError>
Attempt to initiate the streamed construction of this struct from XML. Read more
source§impl IntoXml for Url
impl IntoXml for Url
§type EventIter = IntoEventsViaElement
type EventIter = IntoEventsViaElement
The iterator type.
source§fn into_event_iter(self) -> Result<Self::EventIter, Error>
fn into_event_iter(self) -> Result<Self::EventIter, Error>
Return an iterator which emits the contents of the struct or enum as
serialisable
rxml::Event
items.impl StructuralPartialEq for Url
Auto Trait Implementations§
impl Freeze for Url
impl RefUnwindSafe for Url
impl Send for Url
impl Sync for Url
impl Unpin for Url
impl UnwindSafe for Url
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