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