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: bool
Whether stream resumption is allowed.
Trait Implementations§
Source§impl FromXml for Enabled
impl FromXml for Enabled
Source§type Builder = EnabledFromXmlBuilder
type Builder = EnabledFromXmlBuilder
A builder type used to construct the element. Read more
Source§fn from_events(
name: QName,
attrs: AttrMap,
) -> Result<Self::Builder, FromEventsError>
fn from_events( name: QName, attrs: AttrMap, ) -> Result<Self::Builder, FromEventsError>
Attempt to initiate the streamed construction of this struct from XML. Read more
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