pub struct UserDataStreamUnsubscribeParams {
pub id: Option<String>,
pub subscription_id: Option<i32>,
}Expand description
Request parameters for the [user_data_stream_unsubscribe] operation.
This struct holds all of the inputs you can pass when calling
user_data_stream_unsubscribe.
Fields§
§id: Option<String>Unique WebSocket request ID.
This field is **optional.
subscription_id: Option<i32>When called with no parameter, this will close all subscriptions.
When called with the subscriptionId parameter, this will attempt to close the subscription with that subscription id, if it exists.
This field is **optional.
Implementations§
Source§impl UserDataStreamUnsubscribeParams
impl UserDataStreamUnsubscribeParams
Sourcepub fn builder() -> UserDataStreamUnsubscribeParamsBuilder
pub fn builder() -> UserDataStreamUnsubscribeParamsBuilder
Create a builder for [user_data_stream_unsubscribe].
Trait Implementations§
Source§impl Clone for UserDataStreamUnsubscribeParams
impl Clone for UserDataStreamUnsubscribeParams
Source§fn clone(&self) -> UserDataStreamUnsubscribeParams
fn clone(&self) -> UserDataStreamUnsubscribeParams
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 Default for UserDataStreamUnsubscribeParams
impl Default for UserDataStreamUnsubscribeParams
Source§fn default() -> UserDataStreamUnsubscribeParams
fn default() -> UserDataStreamUnsubscribeParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UserDataStreamUnsubscribeParams
impl RefUnwindSafe for UserDataStreamUnsubscribeParams
impl Send for UserDataStreamUnsubscribeParams
impl Sync for UserDataStreamUnsubscribeParams
impl Unpin for UserDataStreamUnsubscribeParams
impl UnsafeUnpin for UserDataStreamUnsubscribeParams
impl UnwindSafe for UserDataStreamUnsubscribeParams
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