pub struct SubscriptionsAcknowledgedParams {
pub meta: Option<NotificationMeta>,
pub notifications: SubscriptionFilter,
}Expand description
Parameters for a notifications/subscriptions/acknowledged notification:
the subset of requested notification types the server will honor.
Fields§
§meta: Option<NotificationMeta>Identifies the subscriptions/listen request being acknowledged.
notifications: SubscriptionFilterThe notification types the server agreed to honor. Types the server does not support are omitted.
Trait Implementations§
Source§impl Clone for SubscriptionsAcknowledgedParams
impl Clone for SubscriptionsAcknowledgedParams
Source§fn clone(&self) -> SubscriptionsAcknowledgedParams
fn clone(&self) -> SubscriptionsAcknowledgedParams
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 SubscriptionsAcknowledgedParams
impl Default for SubscriptionsAcknowledgedParams
Source§fn default() -> SubscriptionsAcknowledgedParams
fn default() -> SubscriptionsAcknowledgedParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubscriptionsAcknowledgedParams
impl<'de> Deserialize<'de> for SubscriptionsAcknowledgedParams
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SubscriptionsAcknowledgedParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SubscriptionsAcknowledgedParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SubscriptionsAcknowledgedParams
impl Serialize for SubscriptionsAcknowledgedParams
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for SubscriptionsAcknowledgedParams
impl RefUnwindSafe for SubscriptionsAcknowledgedParams
impl Send for SubscriptionsAcknowledgedParams
impl Sync for SubscriptionsAcknowledgedParams
impl Unpin for SubscriptionsAcknowledgedParams
impl UnsafeUnpin for SubscriptionsAcknowledgedParams
impl UnwindSafe for SubscriptionsAcknowledgedParams
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