Add getters to ServiceId
Add getters for circuit and service_id to the ServiceId struct.
@@ -29,6 +29,14 @@ impl ServiceId {
service_id,
}
}
+
+ pub fn circuit(&self) -> &str {
+ &self.circuit_name
+ }
+
+ pub fn service_id(&self) -> &str {
+ &self.service_id
+ }
}
impl fmt::Display for ServiceId {
