pub struct RecordingStateChangedEventParamsBuilder { /* private fields */ }Expand description
Builder for RecordingStateChangedEventParams.
Implementations§
Source§impl RecordingStateChangedEventParamsBuilder
impl RecordingStateChangedEventParamsBuilder
pub fn is_recording(&mut self, value: bool) -> &mut Self
pub fn service(&mut self, value: ServiceName) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<RecordingStateChangedEventParams, RecordingStateChangedEventParamsBuilderError>
pub fn build( &self, ) -> Result<RecordingStateChangedEventParams, RecordingStateChangedEventParamsBuilderError>
Builds a new RecordingStateChangedEventParams.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for RecordingStateChangedEventParamsBuilder
impl Clone for RecordingStateChangedEventParamsBuilder
Source§fn clone(&self) -> RecordingStateChangedEventParamsBuilder
fn clone(&self) -> RecordingStateChangedEventParamsBuilder
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 RecordingStateChangedEventParamsBuilder
impl RefUnwindSafe for RecordingStateChangedEventParamsBuilder
impl Send for RecordingStateChangedEventParamsBuilder
impl Sync for RecordingStateChangedEventParamsBuilder
impl Unpin for RecordingStateChangedEventParamsBuilder
impl UnsafeUnpin for RecordingStateChangedEventParamsBuilder
impl UnwindSafe for RecordingStateChangedEventParamsBuilder
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