pub struct NatsTrigger {Show 20 fields
pub nats_resource_path: String,
pub use_jetstream: bool,
pub stream_name: Option<String>,
pub consumer_name: Option<String>,
pub subjects: Vec<String>,
pub server_id: Option<String>,
pub last_server_ping: Option<String>,
pub error: Option<String>,
pub enabled: bool,
pub error_handler_path: Option<String>,
pub error_handler_args: Option<HashMap<String, Value>>,
pub retry: Option<Box<Retry>>,
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§
§nats_resource_path: String
§use_jetstream: bool
§stream_name: Option<String>
§consumer_name: Option<String>
§subjects: Vec<String>
§server_id: Option<String>
§last_server_ping: Option<String>
§error: Option<String>
§enabled: bool
§error_handler_path: Option<String>
§error_handler_args: Option<HashMap<String, Value>>
§retry: Option<Box<Retry>>
§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 NatsTrigger
impl NatsTrigger
Trait Implementations§
Source§impl Clone for NatsTrigger
impl Clone for NatsTrigger
Source§fn clone(&self) -> NatsTrigger
fn clone(&self) -> NatsTrigger
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 NatsTrigger
impl Debug for NatsTrigger
Source§impl Default for NatsTrigger
impl Default for NatsTrigger
Source§fn default() -> NatsTrigger
fn default() -> NatsTrigger
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NatsTrigger
impl<'de> Deserialize<'de> for NatsTrigger
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 NatsTrigger
impl PartialEq for NatsTrigger
Source§impl Serialize for NatsTrigger
impl Serialize for NatsTrigger
impl StructuralPartialEq for NatsTrigger
Auto Trait Implementations§
impl Freeze for NatsTrigger
impl RefUnwindSafe for NatsTrigger
impl Send for NatsTrigger
impl Sync for NatsTrigger
impl Unpin for NatsTrigger
impl UnwindSafe for NatsTrigger
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