pub struct AttributionReportingAggregatableValueDictEntryBuilder { /* private fields */ }Expand description
Builder for AttributionReportingAggregatableValueDictEntry.
Implementations§
Source§impl AttributionReportingAggregatableValueDictEntryBuilder
impl AttributionReportingAggregatableValueDictEntryBuilder
pub fn key<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn value<VALUE: Into<JsFloat>>(&mut self, value: VALUE) -> &mut Self
pub fn value<VALUE: Into<JsFloat>>(&mut self, value: VALUE) -> &mut Self
number instead of integer because not all uint32 can be represented by int
pub fn filtering_id<VALUE: Into<UnsignedInt64AsBase10>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<AttributionReportingAggregatableValueDictEntry, AttributionReportingAggregatableValueDictEntryBuilderError>
pub fn build( &self, ) -> Result<AttributionReportingAggregatableValueDictEntry, AttributionReportingAggregatableValueDictEntryBuilderError>
Builds a new AttributionReportingAggregatableValueDictEntry.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for AttributionReportingAggregatableValueDictEntryBuilder
impl Clone for AttributionReportingAggregatableValueDictEntryBuilder
Source§fn clone(&self) -> AttributionReportingAggregatableValueDictEntryBuilder
fn clone(&self) -> AttributionReportingAggregatableValueDictEntryBuilder
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 AttributionReportingAggregatableValueDictEntryBuilder
impl RefUnwindSafe for AttributionReportingAggregatableValueDictEntryBuilder
impl Send for AttributionReportingAggregatableValueDictEntryBuilder
impl Sync for AttributionReportingAggregatableValueDictEntryBuilder
impl Unpin for AttributionReportingAggregatableValueDictEntryBuilder
impl UnsafeUnpin for AttributionReportingAggregatableValueDictEntryBuilder
impl UnwindSafe for AttributionReportingAggregatableValueDictEntryBuilder
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