pub struct AttributionReportingTriggerRegistrationBuilder { /* private fields */ }Expand description
Builder for AttributionReportingTriggerRegistration.
Implementations§
Source§impl AttributionReportingTriggerRegistrationBuilder
impl AttributionReportingTriggerRegistrationBuilder
pub fn filters<VALUE: Into<AttributionReportingFilterPair>>( &mut self, value: VALUE, ) -> &mut Self
pub fn debug_key<VALUE: Into<UnsignedInt64AsBase10>>( &mut self, value: VALUE, ) -> &mut Self
pub fn aggregatable_dedup_keys<VALUE: Into<Vec<AttributionReportingAggregatableDedupKey>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn event_trigger_data<VALUE: Into<Vec<AttributionReportingEventTriggerData>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn aggregatable_trigger_data<VALUE: Into<Vec<AttributionReportingAggregatableTriggerData>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn aggregatable_values<VALUE: Into<Vec<AttributionReportingAggregatableValueEntry>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn aggregatable_filtering_id_max_bytes<VALUE: Into<JsUInt>>( &mut self, value: VALUE, ) -> &mut Self
pub fn debug_reporting<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn aggregation_coordinator_origin<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn source_registration_time_config<VALUE: Into<AttributionReportingSourceRegistrationTimeConfig>>( &mut self, value: VALUE, ) -> &mut Self
pub fn trigger_context_id<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn aggregatable_debug_reporting_config<VALUE: Into<AttributionReportingAggregatableDebugReportingConfig>>( &mut self, value: VALUE, ) -> &mut Self
pub fn scopes<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn named_budgets<VALUE: Into<Vec<AttributionReportingNamedBudgetCandidate>>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<AttributionReportingTriggerRegistration, AttributionReportingTriggerRegistrationBuilderError>
pub fn build( &self, ) -> Result<AttributionReportingTriggerRegistration, AttributionReportingTriggerRegistrationBuilderError>
Builds a new AttributionReportingTriggerRegistration.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for AttributionReportingTriggerRegistrationBuilder
impl Clone for AttributionReportingTriggerRegistrationBuilder
Source§fn clone(&self) -> AttributionReportingTriggerRegistrationBuilder
fn clone(&self) -> AttributionReportingTriggerRegistrationBuilder
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 moreAuto Trait Implementations§
impl Freeze for AttributionReportingTriggerRegistrationBuilder
impl RefUnwindSafe for AttributionReportingTriggerRegistrationBuilder
impl Send for AttributionReportingTriggerRegistrationBuilder
impl Sync for AttributionReportingTriggerRegistrationBuilder
impl Unpin for AttributionReportingTriggerRegistrationBuilder
impl UnsafeUnpin for AttributionReportingTriggerRegistrationBuilder
impl UnwindSafe for AttributionReportingTriggerRegistrationBuilder
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