pub struct ConsoleProfileStartedEventParamsBuilder { /* private fields */ }Expand description
Builder for ConsoleProfileStartedEventParams.
Implementations§
Source§impl ConsoleProfileStartedEventParamsBuilder
impl ConsoleProfileStartedEventParamsBuilder
pub fn id(&mut self, value: String) -> &mut Self
Sourcepub fn title(&mut self, value: Option<String>) -> &mut Self
pub fn title(&mut self, value: Option<String>) -> &mut Self
Profile title passed as an argument to console.profile().
Sourcepub fn build(
&self,
) -> Result<ConsoleProfileStartedEventParams, ConsoleProfileStartedEventParamsBuilderError>
pub fn build( &self, ) -> Result<ConsoleProfileStartedEventParams, ConsoleProfileStartedEventParamsBuilderError>
Builds a new ConsoleProfileStartedEventParams.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for ConsoleProfileStartedEventParamsBuilder
impl Clone for ConsoleProfileStartedEventParamsBuilder
Source§fn clone(&self) -> ConsoleProfileStartedEventParamsBuilder
fn clone(&self) -> ConsoleProfileStartedEventParamsBuilder
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 ConsoleProfileStartedEventParamsBuilder
impl RefUnwindSafe for ConsoleProfileStartedEventParamsBuilder
impl Send for ConsoleProfileStartedEventParamsBuilder
impl Sync for ConsoleProfileStartedEventParamsBuilder
impl Unpin for ConsoleProfileStartedEventParamsBuilder
impl UnsafeUnpin for ConsoleProfileStartedEventParamsBuilder
impl UnwindSafe for ConsoleProfileStartedEventParamsBuilder
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