pub struct Enabled {
    pub id: Option<StreamId>,
    pub location: Option<String>,
    pub max: Option<u32>,
    pub resume: bool,
}Expand description
Server response once stream management is enabled.
Fields§
§id: Option<StreamId>A random identifier used for stream resumption.
location: Option<String>The preferred IP, domain, IP:port or domain:port location for resumption.
max: Option<u32>The preferred resumption time in seconds by the server.
resume: boolWhether stream resumption is allowed.
Trait Implementations§
Source§impl AsXml for Enabled
 
impl AsXml for Enabled
Source§impl FromXml for Enabled
 
impl FromXml for Enabled
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 Enabled
 
impl TryFrom<Element> for Enabled
Source§type Error = FromElementError
 
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for Enabled
Auto Trait Implementations§
impl Freeze for Enabled
impl RefUnwindSafe for Enabled
impl Send for Enabled
impl Sync for Enabled
impl Unpin for Enabled
impl UnwindSafe for Enabled
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