Function zonename::getzonenamebyid

source ·
pub fn getzonenamebyid(id: i32) -> Result<String>
Expand description

Returns the zone name for the corresponding zone ID.

Example

let zonename = zonename::getzonenamebyid(zoneid).expect("failed to get zonename");