pub struct AttributionReportingEventTriggerDataBuilder { /* private fields */ }Expand description
Builder for AttributionReportingEventTriggerData.
Implementations§
Source§impl AttributionReportingEventTriggerDataBuilder
impl AttributionReportingEventTriggerDataBuilder
pub fn data<VALUE: Into<UnsignedInt64AsBase10>>( &mut self, value: VALUE, ) -> &mut Self
pub fn priority<VALUE: Into<SignedInt64AsBase10>>( &mut self, value: VALUE, ) -> &mut Self
pub fn dedup_key<VALUE: Into<UnsignedInt64AsBase10>>( &mut self, value: VALUE, ) -> &mut Self
pub fn filters<VALUE: Into<AttributionReportingFilterPair>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<AttributionReportingEventTriggerData, AttributionReportingEventTriggerDataBuilderError>
pub fn build( &self, ) -> Result<AttributionReportingEventTriggerData, AttributionReportingEventTriggerDataBuilderError>
Builds a new AttributionReportingEventTriggerData.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for AttributionReportingEventTriggerDataBuilder
impl Clone for AttributionReportingEventTriggerDataBuilder
Source§fn clone(&self) -> AttributionReportingEventTriggerDataBuilder
fn clone(&self) -> AttributionReportingEventTriggerDataBuilder
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 AttributionReportingEventTriggerDataBuilder
impl RefUnwindSafe for AttributionReportingEventTriggerDataBuilder
impl Send for AttributionReportingEventTriggerDataBuilder
impl Sync for AttributionReportingEventTriggerDataBuilder
impl Unpin for AttributionReportingEventTriggerDataBuilder
impl UnsafeUnpin for AttributionReportingEventTriggerDataBuilder
impl UnwindSafe for AttributionReportingEventTriggerDataBuilder
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