ib 3.0.0

A Rust client to the Interactive Brokers HTTP REST API
Documentation
/* 
 * Client Portal Web API
 *
 * Client Poral Web API
 *
 * OpenAPI spec version: 1.0.0
 * 
 * Generated by: https://github.com/swagger-api/swagger-codegen.git
 */


#[allow(unused_imports)]
use serde_json::Value;

#[derive(Debug, Serialize, Deserialize)]
pub struct InlineResponse20038 {
  #[serde(rename = "symbol")]
  symbol: Option<::models::Stocks>
}

impl InlineResponse20038 {
  pub fn new() -> InlineResponse20038 {
    InlineResponse20038 {
      symbol: None
    }
  }

  pub fn set_symbol(&mut self, symbol: ::models::Stocks) {
    self.symbol = Some(symbol);
  }

  pub fn with_symbol(mut self, symbol: ::models::Stocks) -> InlineResponse20038 {
    self.symbol = Some(symbol);
    self
  }

  pub fn symbol(&self) -> Option<&::models::Stocks> {
    self.symbol.as_ref()
  }

  pub fn reset_symbol(&mut self) {
    self.symbol = None;
  }

}