(&self)
| 249 | } |
| 250 | |
| 251 | pub fn root(&self) -> SubnetName { |
| 252 | SubnetName(self.0.join("root")) |
| 253 | } |
| 254 | |
| 255 | /// Check that the testnet contains a certain resource name, ie. it's a prefix of it. |
| 256 | pub fn contains<T: AsRef<ResourceName>>(&self, name: T) -> bool { |