pub struct AttributionReportingSourceRegistrationBuilder { /* private fields */ }Expand description
Builder for AttributionReportingSourceRegistration.
Implementations§
Source§impl AttributionReportingSourceRegistrationBuilder
impl AttributionReportingSourceRegistrationBuilder
pub fn time<VALUE: Into<TimeSinceEpoch>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn trigger_data<VALUE: Into<Vec<JsFloat>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn trigger_data<VALUE: Into<Vec<JsFloat>>>( &mut self, value: VALUE, ) -> &mut Self
number instead of integer because not all uint32 can be represented by int
pub fn event_report_windows<VALUE: Into<AttributionReportingEventReportWindows>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn aggregatable_report_window<VALUE: Into<JsUInt>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn aggregatable_report_window<VALUE: Into<JsUInt>>( &mut self, value: VALUE, ) -> &mut Self
duration in seconds
pub fn type<VALUE: Into<AttributionReportingSourceType>>( &mut self, value: VALUE, ) -> &mut Self
pub fn source_origin<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn reporting_origin<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn destination_sites<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn event_id<VALUE: Into<UnsignedInt64AsBase10>>( &mut self, value: VALUE, ) -> &mut Self
pub fn priority<VALUE: Into<SignedInt64AsBase10>>( &mut self, value: VALUE, ) -> &mut Self
pub fn filter_data<VALUE: Into<Vec<AttributionReportingFilterDataEntry>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn aggregation_keys<VALUE: Into<Vec<AttributionReportingAggregationKeysEntry>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn debug_key<VALUE: Into<UnsignedInt64AsBase10>>( &mut self, value: VALUE, ) -> &mut Self
pub fn trigger_data_matching<VALUE: Into<AttributionReportingTriggerDataMatching>>( &mut self, value: VALUE, ) -> &mut Self
pub fn destination_limit_priority<VALUE: Into<SignedInt64AsBase10>>( &mut self, value: VALUE, ) -> &mut Self
pub fn aggregatable_debug_reporting_config<VALUE: Into<AttributionReportingAggregatableDebugReportingConfig>>( &mut self, value: VALUE, ) -> &mut Self
pub fn scopes_data<VALUE: Into<AttributionScopesData>>( &mut self, value: VALUE, ) -> &mut Self
pub fn max_event_level_reports<VALUE: Into<JsUInt>>( &mut self, value: VALUE, ) -> &mut Self
pub fn named_budgets<VALUE: Into<Vec<AttributionReportingNamedBudgetDef>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn debug_reporting<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn event_level_epsilon<VALUE: Into<JsFloat>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<AttributionReportingSourceRegistration, AttributionReportingSourceRegistrationBuilderError>
pub fn build( &self, ) -> Result<AttributionReportingSourceRegistration, AttributionReportingSourceRegistrationBuilderError>
Builds a new AttributionReportingSourceRegistration.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for AttributionReportingSourceRegistrationBuilder
impl Clone for AttributionReportingSourceRegistrationBuilder
Source§fn clone(&self) -> AttributionReportingSourceRegistrationBuilder
fn clone(&self) -> AttributionReportingSourceRegistrationBuilder
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 AttributionReportingSourceRegistrationBuilder
impl RefUnwindSafe for AttributionReportingSourceRegistrationBuilder
impl Send for AttributionReportingSourceRegistrationBuilder
impl Sync for AttributionReportingSourceRegistrationBuilder
impl Unpin for AttributionReportingSourceRegistrationBuilder
impl UnsafeUnpin for AttributionReportingSourceRegistrationBuilder
impl UnwindSafe for AttributionReportingSourceRegistrationBuilder
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