pub struct GcpTriggerData {Show 14 fields
pub gcp_resource_path: String,
pub subscription_mode: SubscriptionMode,
pub topic_id: String,
pub subscription_id: Option<String>,
pub base_endpoint: Option<String>,
pub delivery_type: Option<DeliveryType>,
pub delivery_config: Option<Box<PushConfig>>,
pub path: String,
pub script_path: String,
pub is_flow: bool,
pub enabled: Option<bool>,
pub error_handler_path: Option<String>,
pub error_handler_args: Option<HashMap<String, Value>>,
pub retry: Option<Box<Retry>>,
}
Fields§
§gcp_resource_path: String
§subscription_mode: SubscriptionMode
§topic_id: String
§subscription_id: Option<String>
§base_endpoint: Option<String>
§delivery_type: Option<DeliveryType>
§delivery_config: Option<Box<PushConfig>>
§path: String
§script_path: String
§is_flow: bool
§enabled: Option<bool>
§error_handler_path: Option<String>
§error_handler_args: Option<HashMap<String, Value>>
§retry: Option<Box<Retry>>
Implementations§
Source§impl GcpTriggerData
impl GcpTriggerData
pub fn new( gcp_resource_path: String, subscription_mode: SubscriptionMode, topic_id: String, path: String, script_path: String, is_flow: bool, ) -> GcpTriggerData
Trait Implementations§
Source§impl Clone for GcpTriggerData
impl Clone for GcpTriggerData
Source§fn clone(&self) -> GcpTriggerData
fn clone(&self) -> GcpTriggerData
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 GcpTriggerData
impl Debug for GcpTriggerData
Source§impl Default for GcpTriggerData
impl Default for GcpTriggerData
Source§fn default() -> GcpTriggerData
fn default() -> GcpTriggerData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GcpTriggerData
impl<'de> Deserialize<'de> for GcpTriggerData
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 GcpTriggerData
impl PartialEq for GcpTriggerData
Source§impl Serialize for GcpTriggerData
impl Serialize for GcpTriggerData
impl StructuralPartialEq for GcpTriggerData
Auto Trait Implementations§
impl Freeze for GcpTriggerData
impl RefUnwindSafe for GcpTriggerData
impl Send for GcpTriggerData
impl Sync for GcpTriggerData
impl Unpin for GcpTriggerData
impl UnwindSafe for GcpTriggerData
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