Skip to main content

hanzo_client/models/
frame.rs

1/*
2 * Hanzo Cloud API
3 *
4 * The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
5 *
6 * The version of the OpenAPI document: v1
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct Frame {
16    #[serde(rename = "column", skip_serializing_if = "Option::is_none")]
17    pub column: Option<i32>,
18    #[serde(rename = "file", skip_serializing_if = "Option::is_none")]
19    pub file: Option<String>,
20    #[serde(rename = "function", skip_serializing_if = "Option::is_none")]
21    pub function: Option<String>,
22    #[serde(rename = "line", skip_serializing_if = "Option::is_none")]
23    pub line: Option<i32>,
24}
25
26impl Frame {
27    pub fn new() -> Frame {
28        Frame {
29            column: None,
30            file: None,
31            function: None,
32            line: None,
33        }
34    }
35}
36