pub struct PatchedBulkEventRuleRequest {Show 13 fields
pub id: i32,
pub object_types: Option<Vec<String>>,
pub name: Option<String>,
pub enabled: Option<bool>,
pub event_types: Option<Vec<EventTypes>>,
pub conditions: Option<Option<Value>>,
pub action_type: Option<ActionType>,
pub action_object_type: Option<String>,
pub action_object_id: Option<Option<i64>>,
pub description: Option<String>,
pub custom_fields: Option<HashMap<String, Value>>,
pub owner: Option<Option<Box<AsnRangeRequestOwner>>>,
pub tags: Option<Vec<NestedTagRequest>>,
}Expand description
PatchedBulkEventRuleRequest : Adds an owner field for models which have a ForeignKey to users.Owner.
Fields§
§id: i32§object_types: Option<Vec<String>>§name: Option<String>§enabled: Option<bool>§event_types: Option<Vec<EventTypes>>The types of event which will trigger this rule.
conditions: Option<Option<Value>>A set of conditions which determine whether the event will be generated.
action_type: Option<ActionType>webhook- Webhook *script- Script *notification- Notification
action_object_type: Option<String>§action_object_id: Option<Option<i64>>§description: Option<String>§custom_fields: Option<HashMap<String, Value>>§owner: Option<Option<Box<AsnRangeRequestOwner>>>Implementations§
Source§impl PatchedBulkEventRuleRequest
impl PatchedBulkEventRuleRequest
Sourcepub fn new(id: i32) -> PatchedBulkEventRuleRequest
pub fn new(id: i32) -> PatchedBulkEventRuleRequest
Adds an owner field for models which have a ForeignKey to users.Owner.
Trait Implementations§
Source§impl Clone for PatchedBulkEventRuleRequest
impl Clone for PatchedBulkEventRuleRequest
Source§fn clone(&self) -> PatchedBulkEventRuleRequest
fn clone(&self) -> PatchedBulkEventRuleRequest
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 PatchedBulkEventRuleRequest
impl Debug for PatchedBulkEventRuleRequest
Source§impl Default for PatchedBulkEventRuleRequest
impl Default for PatchedBulkEventRuleRequest
Source§fn default() -> PatchedBulkEventRuleRequest
fn default() -> PatchedBulkEventRuleRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedBulkEventRuleRequest
impl<'de> Deserialize<'de> for PatchedBulkEventRuleRequest
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
impl StructuralPartialEq for PatchedBulkEventRuleRequest
Auto Trait Implementations§
impl Freeze for PatchedBulkEventRuleRequest
impl RefUnwindSafe for PatchedBulkEventRuleRequest
impl Send for PatchedBulkEventRuleRequest
impl Sync for PatchedBulkEventRuleRequest
impl Unpin for PatchedBulkEventRuleRequest
impl UnsafeUnpin for PatchedBulkEventRuleRequest
impl UnwindSafe for PatchedBulkEventRuleRequest
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