pub struct SubscribedFrame {
pub protocol_version: u8,
pub subscription_id: String,
pub op: &'static str,
pub query: SubscriptionQuery,
pub mode: Mode,
pub sort: Option<SortConfig>,
}Fields§
§protocol_version: u8§subscription_id: String§op: &'static str§query: SubscriptionQuery§mode: Mode§sort: Option<SortConfig>Implementations§
Source§impl SubscribedFrame
impl SubscribedFrame
pub fn new( subscription_id: String, query: SubscriptionQuery, mode: Mode, sort: Option<SortConfig>, ) -> Self
Trait Implementations§
Source§impl Clone for SubscribedFrame
impl Clone for SubscribedFrame
Source§fn clone(&self) -> SubscribedFrame
fn clone(&self) -> SubscribedFrame
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 SubscribedFrame
impl Debug for SubscribedFrame
Source§impl Deserialize<'static> for SubscribedFrame
impl Deserialize<'static> for SubscribedFrame
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SubscribedFrame
impl RefUnwindSafe for SubscribedFrame
impl Send for SubscribedFrame
impl Sync for SubscribedFrame
impl Unpin for SubscribedFrame
impl UnsafeUnpin for SubscribedFrame
impl UnwindSafe for SubscribedFrame
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