luaur_analysis/records/extra_information.rs
1use alloc::string::String;
2
3#[derive(Debug, Clone, PartialEq, Eq, Hash)]
4pub struct ExtraInformation {
5 pub(crate) message: String,
6}
7
8impl ExtraInformation {
9 pub const fn new(message: String) -> Self {
10 Self { message }
11 }
12}
13
14#[allow(non_snake_case)]
15impl ExtraInformation {
16 pub fn message(&self) -> &str {
17 &self.message
18 }
19}