aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/plugin/pre_pool_create_event.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/plugin/pre_pool_create_event.rs')
-rw-r--r--crates/shirabe/src/plugin/pre_pool_create_event.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/shirabe/src/plugin/pre_pool_create_event.rs b/crates/shirabe/src/plugin/pre_pool_create_event.rs
index 5d1a4e9..a1a6bc6 100644
--- a/crates/shirabe/src/plugin/pre_pool_create_event.rs
+++ b/crates/shirabe/src/plugin/pre_pool_create_event.rs
@@ -21,6 +21,10 @@ pub struct PrePoolCreateEvent {
}
impl PrePoolCreateEvent {
+ pub fn get_name(&self) -> &str {
+ self.inner.get_name()
+ }
+
#[allow(clippy::too_many_arguments)]
pub fn new(
name: String,