pub struct SubscriptionRequest<T> {
pub method: String,
pub params: T,
pub req_id: Option<i64>,
}
Fields§
§method: String
§params: T
§req_id: Option<i64>
Trait Implementations§
Source§impl<T: Clone> Clone for SubscriptionRequest<T>
impl<T: Clone> Clone for SubscriptionRequest<T>
Source§fn clone(&self) -> SubscriptionRequest<T>
fn clone(&self) -> SubscriptionRequest<T>
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<T: Debug> Debug for SubscriptionRequest<T>
impl<T: Debug> Debug for SubscriptionRequest<T>
Auto Trait Implementations§
impl<T> Freeze for SubscriptionRequest<T>where
T: Freeze,
impl<T> RefUnwindSafe for SubscriptionRequest<T>where
T: RefUnwindSafe,
impl<T> Send for SubscriptionRequest<T>where
T: Send,
impl<T> Sync for SubscriptionRequest<T>where
T: Sync,
impl<T> Unpin for SubscriptionRequest<T>where
T: Unpin,
impl<T> UnwindSafe for SubscriptionRequest<T>where
T: UnwindSafe,
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