pub struct TriggerParams {
pub socket_id: Option<String>,
pub info: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub idempotency_key: Option<String>,
pub extras: Option<MessageExtras>,
}Expand description
Parameters for triggering events
Fields§
§socket_id: Option<String>§info: Option<String>§idempotency_key: Option<String>§extras: Option<MessageExtras>Implementations§
Source§impl TriggerParams
impl TriggerParams
Sourcepub fn builder() -> TriggerParamsBuilder
pub fn builder() -> TriggerParamsBuilder
Creates a new TriggerParams builder
Trait Implementations§
Source§impl Clone for TriggerParams
impl Clone for TriggerParams
Source§fn clone(&self) -> TriggerParams
fn clone(&self) -> TriggerParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TriggerParams
impl Debug for TriggerParams
Source§impl Default for TriggerParams
impl Default for TriggerParams
Source§fn default() -> TriggerParams
fn default() -> TriggerParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for TriggerParams
impl !UnwindSafe for TriggerParams
impl Freeze for TriggerParams
impl Send for TriggerParams
impl Sync for TriggerParams
impl Unpin for TriggerParams
impl UnsafeUnpin for TriggerParams
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