pub struct SharedStoragePrivateAggregationConfigBuilder { /* private fields */ }Expand description
Builder for SharedStoragePrivateAggregationConfig.
Implementations§
Sourcepub fn aggregation_coordinator_origin<VALUE: Into<String>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn aggregation_coordinator_origin<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
The chosen aggregation service deployment.
Sourcepub fn context_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn context_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The context ID provided.
Sourcepub fn filtering_id_max_bytes<VALUE: Into<JsUInt>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn filtering_id_max_bytes<VALUE: Into<JsUInt>>( &mut self, value: VALUE, ) -> &mut Self
Configures the maximum size allowed for filtering IDs.
Sourcepub fn max_contributions<VALUE: Into<JsUInt>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn max_contributions<VALUE: Into<JsUInt>>( &mut self, value: VALUE, ) -> &mut Self
The limit on the number of contributions in the final report.
Sourcepub fn build(
&self,
) -> Result<SharedStoragePrivateAggregationConfig, SharedStoragePrivateAggregationConfigBuilderError>
pub fn build( &self, ) -> Result<SharedStoragePrivateAggregationConfig, SharedStoragePrivateAggregationConfigBuilderError>
Builds a new SharedStoragePrivateAggregationConfig.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§fn clone(&self) -> SharedStoragePrivateAggregationConfigBuilder
fn clone(&self) -> SharedStoragePrivateAggregationConfigBuilder
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§
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