pub struct ProcessingDirective {
pub event_filter: Option<Box<EventFilter>>,
}Expand description
ProcessingDirective : Additional information passed to the subscription to control the processing of notifications. For example, you can use an eventFilter to customize your subscription to send notifications for only the specified marketplaceIds, or select the aggregation time period at which to send notifications (for example: limit to one notification every five minutes for high frequency notifications). The specific features available vary depending on the notificationType. This feature is currently only supported by the ANY_OFFER_CHANGED and ORDER_CHANGE notificationTypes.
Fields§
§event_filter: Option<Box<EventFilter>>Implementations§
Source§impl ProcessingDirective
impl ProcessingDirective
Sourcepub fn new() -> ProcessingDirective
pub fn new() -> ProcessingDirective
Additional information passed to the subscription to control the processing of notifications. For example, you can use an eventFilter to customize your subscription to send notifications for only the specified marketplaceIds, or select the aggregation time period at which to send notifications (for example: limit to one notification every five minutes for high frequency notifications). The specific features available vary depending on the notificationType. This feature is currently only supported by the ANY_OFFER_CHANGED and ORDER_CHANGE notificationTypes.
Trait Implementations§
Source§impl Clone for ProcessingDirective
impl Clone for ProcessingDirective
Source§fn clone(&self) -> ProcessingDirective
fn clone(&self) -> ProcessingDirective
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ProcessingDirective
impl Debug for ProcessingDirective
Source§impl Default for ProcessingDirective
impl Default for ProcessingDirective
Source§fn default() -> ProcessingDirective
fn default() -> ProcessingDirective
Source§impl<'de> Deserialize<'de> for ProcessingDirective
impl<'de> Deserialize<'de> for ProcessingDirective
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for ProcessingDirective
impl PartialEq for ProcessingDirective
Source§fn eq(&self, other: &ProcessingDirective) -> bool
fn eq(&self, other: &ProcessingDirective) -> bool
self and other values to be equal, and is used by ==.