pub struct EventInformationData {
pub summaries: Vec<EventSummaryData>,
pub more_events: bool,
}Expand description
A GetEventInformation answer, or several pages of one joined.
Fields§
§summaries: Vec<EventSummaryData>The objects, in the device’s order.
more_events: boolWhether the device holds more than these: its last answer said so, or a cap stopped the reading early.
Implementations§
Source§impl EventInformationData
impl EventInformationData
Sourcepub fn new(ack: &GetEventInformationAck) -> Self
pub fn new(ack: &GetEventInformationAck) -> Self
One GetEventInformation answer, decoded.
Sourcepub fn from_summaries(summaries: &[EventSummary], more_events: bool) -> Self
pub fn from_summaries(summaries: &[EventSummary], more_events: bool) -> Self
Summaries read over one or more answers, decoded; more_events
says whether the device holds more.
Trait Implementations§
Source§impl Clone for EventInformationData
impl Clone for EventInformationData
Source§impl Debug for EventInformationData
impl Debug for EventInformationData
Source§impl PartialEq for EventInformationData
impl PartialEq for EventInformationData
Source§impl Serialize for EventInformationData
impl Serialize for EventInformationData
impl StructuralPartialEq for EventInformationData
Auto Trait Implementations§
impl Freeze for EventInformationData
impl RefUnwindSafe for EventInformationData
impl Send for EventInformationData
impl Sync for EventInformationData
impl Unpin for EventInformationData
impl UnsafeUnpin for EventInformationData
impl UnwindSafe for EventInformationData
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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