pub struct InlineResponse2009 { /* private fields */ }Implementations§
Source§impl InlineResponse2009
impl InlineResponse2009
pub fn new( status: String, symbol: String, last: LastTrade, ) -> InlineResponse2009
pub fn set_status(&mut self, status: String)
pub fn with_status(self, status: String) -> InlineResponse2009
pub fn status(&self) -> &String
pub fn set_symbol(&mut self, symbol: String)
pub fn with_symbol(self, symbol: String) -> InlineResponse2009
pub fn symbol(&self) -> &String
pub fn set_last(&mut self, last: LastTrade)
pub fn with_last(self, last: LastTrade) -> InlineResponse2009
pub fn last(&self) -> &LastTrade
Trait Implementations§
Source§impl Clone for InlineResponse2009
impl Clone for InlineResponse2009
Source§fn clone(&self) -> InlineResponse2009
fn clone(&self) -> InlineResponse2009
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InlineResponse2009
impl Debug for InlineResponse2009
Source§impl<'de> Deserialize<'de> for InlineResponse2009
impl<'de> Deserialize<'de> for InlineResponse2009
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 InlineResponse2009
impl RefUnwindSafe for InlineResponse2009
impl Send for InlineResponse2009
impl Sync for InlineResponse2009
impl Unpin for InlineResponse2009
impl UnsafeUnpin for InlineResponse2009
impl UnwindSafe for InlineResponse2009
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