Struct libstrophe::StanzaRef [] [src]

pub struct StanzaRef<'cx>(_);

Wrapper for constant ref to Stanza, implements Deref to Stanza

You can obtain such objects by calling Stanza child search methods.

Methods from Deref<Target = Stanza<'cx>>

[src]

Return internal raw pointer to stanza, for internal use

[src]

Return context for this Stanza

The underlying library does not provide direct access to its context so this method works this around by relying on some of the library internals. With the new version this might need rewriting.

[src]

[src]

[src]

[src]

[src]

[src]

[src]

xmpp_stanza_get_attributes

This method returns data as HashMap unlike underlying function.

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl<'cx> Debug for StanzaRef<'cx>
[src]

[src]

Formats the value using the given formatter.

impl<'cx> Deref for StanzaRef<'cx>
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.