pub struct InterestGroupAuctionEventOccurredEventParamsBuilder { /* private fields */ }Expand description
Builder for InterestGroupAuctionEventOccurredEventParams.
Implementations§
Source§impl InterestGroupAuctionEventOccurredEventParamsBuilder
impl InterestGroupAuctionEventOccurredEventParamsBuilder
pub fn event_time(&mut self, value: TimeSinceEpoch) -> &mut Self
pub fn type(&mut self, value: InterestGroupAuctionEventType) -> &mut Self
pub fn unique_auction_id(&mut self, value: InterestGroupAuctionId) -> &mut Self
Sourcepub fn parent_auction_id(
&mut self,
value: Option<InterestGroupAuctionId>,
) -> &mut Self
pub fn parent_auction_id( &mut self, value: Option<InterestGroupAuctionId>, ) -> &mut Self
Set for child auctions.
Sourcepub fn auction_config(&mut self, value: Option<Json>) -> &mut Self
pub fn auction_config(&mut self, value: Option<Json>) -> &mut Self
Set for started and configResolved
Sourcepub fn build(
&self,
) -> Result<InterestGroupAuctionEventOccurredEventParams, InterestGroupAuctionEventOccurredEventParamsBuilderError>
pub fn build( &self, ) -> Result<InterestGroupAuctionEventOccurredEventParams, InterestGroupAuctionEventOccurredEventParamsBuilderError>
Builds a new InterestGroupAuctionEventOccurredEventParams.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for InterestGroupAuctionEventOccurredEventParamsBuilder
impl Clone for InterestGroupAuctionEventOccurredEventParamsBuilder
Source§fn clone(&self) -> InterestGroupAuctionEventOccurredEventParamsBuilder
fn clone(&self) -> InterestGroupAuctionEventOccurredEventParamsBuilder
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 InterestGroupAuctionEventOccurredEventParamsBuilder
impl RefUnwindSafe for InterestGroupAuctionEventOccurredEventParamsBuilder
impl Send for InterestGroupAuctionEventOccurredEventParamsBuilder
impl Sync for InterestGroupAuctionEventOccurredEventParamsBuilder
impl Unpin for InterestGroupAuctionEventOccurredEventParamsBuilder
impl UnsafeUnpin for InterestGroupAuctionEventOccurredEventParamsBuilder
impl UnwindSafe for InterestGroupAuctionEventOccurredEventParamsBuilder
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