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