pub struct Bound {
pub mam_metadata: Option<MetadataResponse>,
pub payloads: Vec<Element>,
}
Expand description
Represents a <bound/>
element, which tells the client its resource is bound, alongside other
requests.
Fields§
§mam_metadata: Option<MetadataResponse>
Indicates which messages got missed by this particular device, start is the oldest message and end is the newest, before this connection.
payloads: Vec<Element>
Additional payloads which happened during the binding process.
Trait Implementations§
Source§impl TryFrom<Element> for Bound
impl TryFrom<Element> for Bound
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for Bound
Auto Trait Implementations§
impl Freeze for Bound
impl RefUnwindSafe for Bound
impl Send for Bound
impl Sync for Bound
impl Unpin for Bound
impl UnwindSafe for Bound
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