pub struct EventSubscriptionDestination {
pub endpoint: Option<EndPoint>,
pub service_account: Option<String>,
pub type_: Option<String>,
}
Expand description
Message for EventSubscription Destination to act on receiving an event
This type is not used in any activity, and only used as part of another schema.
Fields§
§endpoint: Option<EndPoint>
OPTION 1: Hit an endpoint when we receive an event.
service_account: Option<String>
Service account needed for runtime plane to trigger IP workflow.
type_: Option<String>
type of the destination
Trait Implementations§
source§impl Clone for EventSubscriptionDestination
impl Clone for EventSubscriptionDestination
source§fn clone(&self) -> EventSubscriptionDestination
fn clone(&self) -> EventSubscriptionDestination
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 EventSubscriptionDestination
impl Debug for EventSubscriptionDestination
source§impl Default for EventSubscriptionDestination
impl Default for EventSubscriptionDestination
source§fn default() -> EventSubscriptionDestination
fn default() -> EventSubscriptionDestination
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EventSubscriptionDestination
impl<'de> Deserialize<'de> for EventSubscriptionDestination
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
impl Part for EventSubscriptionDestination
Auto Trait Implementations§
impl RefUnwindSafe for EventSubscriptionDestination
impl Send for EventSubscriptionDestination
impl Sync for EventSubscriptionDestination
impl Unpin for EventSubscriptionDestination
impl UnwindSafe for EventSubscriptionDestination
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