pub struct Exchange { /* private fields */ }Implementations§
Source§impl Exchange
impl Exchange
pub fn new(id: f32, _type: String, market: String, name: String) -> Exchange
pub fn set_id(&mut self, id: f32)
pub fn with_id(self, id: f32) -> Exchange
pub fn id(&self) -> &f32
pub fn set__type(&mut self, _type: String)
pub fn with__type(self, _type: String) -> Exchange
pub fn _type(&self) -> &String
pub fn set_market(&mut self, market: String)
pub fn with_market(self, market: String) -> Exchange
pub fn market(&self) -> &String
pub fn set_mic(&mut self, mic: String)
pub fn with_mic(self, mic: String) -> Exchange
pub fn mic(&self) -> Option<&String>
pub fn reset_mic(&mut self)
pub fn set_name(&mut self, name: String)
pub fn with_name(self, name: String) -> Exchange
pub fn name(&self) -> &String
pub fn set_tape(&mut self, tape: String)
pub fn with_tape(self, tape: String) -> Exchange
pub fn tape(&self) -> Option<&String>
pub fn reset_tape(&mut self)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Exchange
impl<'de> Deserialize<'de> for Exchange
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Exchange
impl RefUnwindSafe for Exchange
impl Send for Exchange
impl Sync for Exchange
impl Unpin for Exchange
impl UnsafeUnpin for Exchange
impl UnwindSafe for Exchange
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more