rtps_parser/rtps/
entity.rs

1use super::types::Guid;
2
3pub struct RtpsEntity {
4    guid: Guid,
5}
6
7impl RtpsEntity {
8    pub fn new(guid: Guid) -> Self {
9        Self { guid }
10    }
11}
12
13impl RtpsEntity {
14    pub fn guid(&self) -> Guid {
15        self.guid
16    }
17}