Struct google_api_proto::google::analytics::admin::v1alpha::EventEditRule
source · pub struct EventEditRule {
pub name: String,
pub display_name: String,
pub event_conditions: Vec<MatchingCondition>,
pub parameter_mutations: Vec<ParameterMutation>,
pub processing_order: i64,
}
Expand description
An Event Edit Rule defines conditions that will trigger the creation of an entirely new event based upon matched criteria of a source event. Additional mutations of the parameters from the source event can be defined.
Unlike Event Create rules, Event Edit Rules are applied in their defined order.
Event Edit rules can’t be used to modify an event created from an Event Create rule.
Fields§
§name: String
Identifier. Resource name for this EventEditRule resource. Format: properties/{property}/dataStreams/{data_stream}/eventEditRules/{event_edit_rule}
display_name: String
Required. The display name of this event edit rule. Maximum of 255 characters.
event_conditions: Vec<MatchingCondition>
Required. Conditions on the source event must match for this rule to be applied. Must have at least one condition, and can have up to 10 max.
parameter_mutations: Vec<ParameterMutation>
Required. Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied.
processing_order: i64
Output only. The order for which this rule will be processed. Rules with an order value lower than this will be processed before this rule, rules with an order value higher than this will be processed after this rule. New event edit rules will be assigned an order value at the end of the order.
This value does not apply to event create rules.
Trait Implementations§
source§impl Clone for EventEditRule
impl Clone for EventEditRule
source§fn clone(&self) -> EventEditRule
fn clone(&self) -> EventEditRule
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EventEditRule
impl Debug for EventEditRule
source§impl Default for EventEditRule
impl Default for EventEditRule
source§impl Message for EventEditRule
impl Message for EventEditRule
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for EventEditRule
impl PartialEq for EventEditRule
source§fn eq(&self, other: &EventEditRule) -> bool
fn eq(&self, other: &EventEditRule) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EventEditRule
Auto Trait Implementations§
impl Freeze for EventEditRule
impl RefUnwindSafe for EventEditRule
impl Send for EventEditRule
impl Sync for EventEditRule
impl Unpin for EventEditRule
impl UnwindSafe for EventEditRule
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request