blob: 247cf855c5d1fd4cfba58464191f48e3729b57db [file] [log] [blame] [edit]
// Copyright 2024 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
use serde::Deserialize;
#[derive(Clone, Debug, Deserialize)]
pub struct Literal {
pub kind: LiteralKind,
pub value: String,
}
#[derive(Copy, Clone, Debug, Deserialize)]
#[serde(rename_all = "snake_case")]
pub enum LiteralKind {
String,
Numeric,
Bool,
}