square_api_client/models/enums/
location_status.rs

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