pub struct PreloadingAttemptSourcesUpdatedEventParamsBuilder { /* private fields */ }Expand description
Builder for PreloadingAttemptSourcesUpdatedEventParams.
Implementations§
Source§impl PreloadingAttemptSourcesUpdatedEventParamsBuilder
impl PreloadingAttemptSourcesUpdatedEventParamsBuilder
pub fn loader_id(&mut self, value: LoaderId) -> &mut Self
pub fn preloading_attempt_sources( &mut self, value: Vec<PreloadingAttemptSource>, ) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<PreloadingAttemptSourcesUpdatedEventParams, PreloadingAttemptSourcesUpdatedEventParamsBuilderError>
pub fn build( &self, ) -> Result<PreloadingAttemptSourcesUpdatedEventParams, PreloadingAttemptSourcesUpdatedEventParamsBuilderError>
Builds a new PreloadingAttemptSourcesUpdatedEventParams.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for PreloadingAttemptSourcesUpdatedEventParamsBuilder
impl Clone for PreloadingAttemptSourcesUpdatedEventParamsBuilder
Source§fn clone(&self) -> PreloadingAttemptSourcesUpdatedEventParamsBuilder
fn clone(&self) -> PreloadingAttemptSourcesUpdatedEventParamsBuilder
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 PreloadingAttemptSourcesUpdatedEventParamsBuilder
impl RefUnwindSafe for PreloadingAttemptSourcesUpdatedEventParamsBuilder
impl Send for PreloadingAttemptSourcesUpdatedEventParamsBuilder
impl Sync for PreloadingAttemptSourcesUpdatedEventParamsBuilder
impl Unpin for PreloadingAttemptSourcesUpdatedEventParamsBuilder
impl UnsafeUnpin for PreloadingAttemptSourcesUpdatedEventParamsBuilder
impl UnwindSafe for PreloadingAttemptSourcesUpdatedEventParamsBuilder
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