pub struct SetLifecycleEventsEnabledBuilder { /* private fields */ }Expand description
Builder for SetLifecycleEventsEnabled.
Implementations§
Source§impl SetLifecycleEventsEnabledBuilder
impl SetLifecycleEventsEnabledBuilder
Sourcepub fn enabled<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn enabled<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
If true, starts emitting lifecycle events.
Sourcepub fn build(
&self,
) -> Result<SetLifecycleEventsEnabled, SetLifecycleEventsEnabledBuilderError>
pub fn build( &self, ) -> Result<SetLifecycleEventsEnabled, SetLifecycleEventsEnabledBuilderError>
Trait Implementations§
Source§impl Clone for SetLifecycleEventsEnabledBuilder
impl Clone for SetLifecycleEventsEnabledBuilder
Source§fn clone(&self) -> SetLifecycleEventsEnabledBuilder
fn clone(&self) -> SetLifecycleEventsEnabledBuilder
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 SetLifecycleEventsEnabledBuilder
impl RefUnwindSafe for SetLifecycleEventsEnabledBuilder
impl Send for SetLifecycleEventsEnabledBuilder
impl Sync for SetLifecycleEventsEnabledBuilder
impl Unpin for SetLifecycleEventsEnabledBuilder
impl UnsafeUnpin for SetLifecycleEventsEnabledBuilder
impl UnwindSafe for SetLifecycleEventsEnabledBuilder
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