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