pub struct PlayerErrorsRaisedEventParamsBuilder { /* private fields */ }Expand description
Builder for PlayerErrorsRaisedEventParams.
Implementations§
Source§impl PlayerErrorsRaisedEventParamsBuilder
impl PlayerErrorsRaisedEventParamsBuilder
pub fn player_id(&mut self, value: PlayerId) -> &mut Self
pub fn errors(&mut self, value: Vec<PlayerError>) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<PlayerErrorsRaisedEventParams, PlayerErrorsRaisedEventParamsBuilderError>
pub fn build( &self, ) -> Result<PlayerErrorsRaisedEventParams, PlayerErrorsRaisedEventParamsBuilderError>
Trait Implementations§
Source§impl Clone for PlayerErrorsRaisedEventParamsBuilder
impl Clone for PlayerErrorsRaisedEventParamsBuilder
Source§fn clone(&self) -> PlayerErrorsRaisedEventParamsBuilder
fn clone(&self) -> PlayerErrorsRaisedEventParamsBuilder
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 PlayerErrorsRaisedEventParamsBuilder
impl RefUnwindSafe for PlayerErrorsRaisedEventParamsBuilder
impl Send for PlayerErrorsRaisedEventParamsBuilder
impl Sync for PlayerErrorsRaisedEventParamsBuilder
impl Unpin for PlayerErrorsRaisedEventParamsBuilder
impl UnsafeUnpin for PlayerErrorsRaisedEventParamsBuilder
impl UnwindSafe for PlayerErrorsRaisedEventParamsBuilder
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