pub struct RuleTriggerRequest {
pub action_data: Value,
pub resource: String,
}Fields§
§action_data: ValueThe dynamic keys and values of the request. These fields are intended to be used in the action for the rule associated with this trigger.
resource: StringThe ID of the resource. For the duration of the beta, this resource is always a task, and this task must exist in the project in which the rule is created.
Trait Implementations§
Source§impl Clone for RuleTriggerRequest
impl Clone for RuleTriggerRequest
Source§fn clone(&self) -> RuleTriggerRequest
fn clone(&self) -> RuleTriggerRequest
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 RuleTriggerRequest
impl Debug for RuleTriggerRequest
Source§impl Default for RuleTriggerRequest
impl Default for RuleTriggerRequest
Source§fn default() -> RuleTriggerRequest
fn default() -> RuleTriggerRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuleTriggerRequest
impl<'de> Deserialize<'de> for RuleTriggerRequest
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 Display for RuleTriggerRequest
impl Display for RuleTriggerRequest
Auto Trait Implementations§
impl Freeze for RuleTriggerRequest
impl RefUnwindSafe for RuleTriggerRequest
impl Send for RuleTriggerRequest
impl Sync for RuleTriggerRequest
impl Unpin for RuleTriggerRequest
impl UnsafeUnpin for RuleTriggerRequest
impl UnwindSafe for RuleTriggerRequest
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