pub struct SubscriptionsQuery {
pub consumer_action_id: Option<String>,
pub consumer_id: Option<String>,
pub consumer_input_filters: Vec<InputFilter>,
pub event_type: Option<String>,
pub publisher_id: Option<String>,
pub publisher_input_filters: Vec<InputFilter>,
pub results: Vec<Subscription>,
pub subscriber_id: Option<String>,
}Expand description
Defines a query for service hook subscriptions.
Fields§
§consumer_action_id: Option<String>Optional consumer action id to restrict the results to (null for any)
consumer_id: Option<String>Optional consumer id to restrict the results to (null for any)
consumer_input_filters: Vec<InputFilter>Filter for subscription consumer inputs
event_type: Option<String>Optional event type id to restrict the results to (null for any)
publisher_id: Option<String>Optional publisher id to restrict the results to (null for any)
publisher_input_filters: Vec<InputFilter>Filter for subscription publisher inputs
results: Vec<Subscription>Results from the query
subscriber_id: Option<String>Optional subscriber filter.
Implementations§
Trait Implementations§
Source§impl Clone for SubscriptionsQuery
impl Clone for SubscriptionsQuery
Source§fn clone(&self) -> SubscriptionsQuery
fn clone(&self) -> SubscriptionsQuery
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 Debug for SubscriptionsQuery
impl Debug for SubscriptionsQuery
Source§impl Default for SubscriptionsQuery
impl Default for SubscriptionsQuery
Source§fn default() -> SubscriptionsQuery
fn default() -> SubscriptionsQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubscriptionsQuery
impl<'de> Deserialize<'de> for SubscriptionsQuery
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SubscriptionsQuery
impl PartialEq for SubscriptionsQuery
Source§impl Serialize for SubscriptionsQuery
impl Serialize for SubscriptionsQuery
impl StructuralPartialEq for SubscriptionsQuery
Auto Trait Implementations§
impl Freeze for SubscriptionsQuery
impl RefUnwindSafe for SubscriptionsQuery
impl Send for SubscriptionsQuery
impl Sync for SubscriptionsQuery
impl Unpin for SubscriptionsQuery
impl UnwindSafe for SubscriptionsQuery
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