pub struct LifecycleEventEventParamsBuilder { /* private fields */ }Expand description
Builder for LifecycleEventEventParams.
Implementations§
Source§impl LifecycleEventEventParamsBuilder
impl LifecycleEventEventParamsBuilder
Sourcepub fn loader_id(&mut self, value: LoaderId) -> &mut Self
pub fn loader_id(&mut self, value: LoaderId) -> &mut Self
Loader identifier. Empty string if the request is fetched from worker.
pub fn name(&mut self, value: String) -> &mut Self
pub fn timestamp(&mut self, value: MonotonicTime) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<LifecycleEventEventParams, LifecycleEventEventParamsBuilderError>
pub fn build( &self, ) -> Result<LifecycleEventEventParams, LifecycleEventEventParamsBuilderError>
Trait Implementations§
Source§impl Clone for LifecycleEventEventParamsBuilder
impl Clone for LifecycleEventEventParamsBuilder
Source§fn clone(&self) -> LifecycleEventEventParamsBuilder
fn clone(&self) -> LifecycleEventEventParamsBuilder
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 LifecycleEventEventParamsBuilder
impl RefUnwindSafe for LifecycleEventEventParamsBuilder
impl Send for LifecycleEventEventParamsBuilder
impl Sync for LifecycleEventEventParamsBuilder
impl Unpin for LifecycleEventEventParamsBuilder
impl UnsafeUnpin for LifecycleEventEventParamsBuilder
impl UnwindSafe for LifecycleEventEventParamsBuilder
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