Struct xtb_client::schema::StreamGetCandlesSubscribe
source · pub struct StreamGetCandlesSubscribe {
pub symbol: String,
}Fields§
§symbol: StringSymbol
Implementations§
source§impl StreamGetCandlesSubscribe
impl StreamGetCandlesSubscribe
sourcepub fn with_symbol(self, value: impl Into<String>) -> Self
pub fn with_symbol(self, value: impl Into<String>) -> Self
Sets the symbol field of this struct.
Trait Implementations§
source§impl Clone for StreamGetCandlesSubscribe
impl Clone for StreamGetCandlesSubscribe
source§fn clone(&self) -> StreamGetCandlesSubscribe
fn clone(&self) -> StreamGetCandlesSubscribe
Returns a copy of the value. Read more
1.0.0 · 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 StreamGetCandlesSubscribe
impl Debug for StreamGetCandlesSubscribe
source§impl Default for StreamGetCandlesSubscribe
impl Default for StreamGetCandlesSubscribe
source§fn default() -> StreamGetCandlesSubscribe
fn default() -> StreamGetCandlesSubscribe
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for StreamGetCandlesSubscribe
impl<'de> Deserialize<'de> for StreamGetCandlesSubscribe
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
source§impl PartialEq for StreamGetCandlesSubscribe
impl PartialEq for StreamGetCandlesSubscribe
source§fn eq(&self, other: &StreamGetCandlesSubscribe) -> bool
fn eq(&self, other: &StreamGetCandlesSubscribe) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StreamGetCandlesSubscribe
Auto Trait Implementations§
impl Freeze for StreamGetCandlesSubscribe
impl RefUnwindSafe for StreamGetCandlesSubscribe
impl Send for StreamGetCandlesSubscribe
impl Sync for StreamGetCandlesSubscribe
impl Unpin for StreamGetCandlesSubscribe
impl UnwindSafe for StreamGetCandlesSubscribe
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