1 2 3 4 5 6 7 8 9 10 11 12 13 14
//! Model for LocationStatus enum
use serde::{Deserialize, Serialize};
/// A location's status.
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
pub enum LocationStatus {
/// A location that is active for business.
Active,
/// A location that is not active for business. Inactive locations provide historical
/// information. Hide inactive locations unless the user has requested to see them.
Inactive,
}