rtps_rs/behavior/change_for_reader.rs
1use crate::behavior::change_for_reader_status_kind::ChangeForReaderStatusKind;
2
3/// The RTPS ChangeForReader is an association class that maintains information
4/// of a CacheChange in the RTPS WriterHistoryCache as it pertains to the RTPS
5/// Reader represented by the ReaderProxy.
6#[derive(Debug, PartialEq, Eq)]
7pub struct ChangeForReader {
8 /// Indicates the status of a CacheChange relative to the RTPS Reader
9 /// represented by the ReaderProxy.
10 pub status: ChangeForReaderStatusKind,
11
12 /// Indicates whether the change is relevant to the RTPS Reader
13 /// represented by the ReaderProxy.
14 pub is_relevant: bool,
15}