pub struct SubscribedFrame {
pub op: &'static str,
pub view: String,
pub mode: Mode,
pub sort: Option<SortConfig>,
}Expand description
Subscription acknowledgment frame sent when a client subscribes
Fields§
§op: &'static strOperation type - always “subscribed”
view: StringThe view that was subscribed to
mode: ModeStreaming mode for this view
sort: Option<SortConfig>Sort configuration if this is a sorted view
Implementations§
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 · 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 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