pub struct AttributionScopesDataBuilder { /* private fields */ }Expand description
Builder for AttributionScopesData.
Implementations§
Source§impl AttributionScopesDataBuilder
impl AttributionScopesDataBuilder
pub fn values<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn limit<VALUE: Into<JsFloat>>(&mut self, value: VALUE) -> &mut Self
pub fn limit<VALUE: Into<JsFloat>>(&mut self, value: VALUE) -> &mut Self
number instead of integer because not all uint32 can be represented by int
pub fn max_event_states<VALUE: Into<JsFloat>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<AttributionScopesData, AttributionScopesDataBuilderError>
pub fn build( &self, ) -> Result<AttributionScopesData, AttributionScopesDataBuilderError>
Trait Implementations§
Source§impl Clone for AttributionScopesDataBuilder
impl Clone for AttributionScopesDataBuilder
Source§fn clone(&self) -> AttributionScopesDataBuilder
fn clone(&self) -> AttributionScopesDataBuilder
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 AttributionScopesDataBuilder
impl RefUnwindSafe for AttributionScopesDataBuilder
impl Send for AttributionScopesDataBuilder
impl Sync for AttributionScopesDataBuilder
impl Unpin for AttributionScopesDataBuilder
impl UnsafeUnpin for AttributionScopesDataBuilder
impl UnwindSafe for AttributionScopesDataBuilder
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