pub struct ForgetAllRequest {
pub forget_all: Value,
pub passthrough: Option<Value>,
pub req_id: Option<i64>,
}
Expand description
Immediately cancel the real-time streams of messages of given type.
Fields§
§forget_all: Value
Cancel all streams by type. The value can be either a single type e.g. "ticks"
, or an array of multiple types e.g. ["candles", "ticks"]
.\n
passthrough: Option<Value>
[Optional] Used to pass data through the websocket, which may be retrieved via the echo_req
output field.\n
req_id: Option<i64>
[Optional] Used to map request to response.\n
Trait Implementations§
Source§impl Clone for ForgetAllRequest
impl Clone for ForgetAllRequest
Source§fn clone(&self) -> ForgetAllRequest
fn clone(&self) -> ForgetAllRequest
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 ForgetAllRequest
impl Debug for ForgetAllRequest
Source§impl<'de> Deserialize<'de> for ForgetAllRequest
impl<'de> Deserialize<'de> for ForgetAllRequest
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 ForgetAllRequest
impl RefUnwindSafe for ForgetAllRequest
impl Send for ForgetAllRequest
impl Sync for ForgetAllRequest
impl Unpin for ForgetAllRequest
impl UnwindSafe for ForgetAllRequest
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