pub struct PlayerPropertiesChangedEvent { /* private fields */ }Available on crate features
experimental and Media only.Expand description
This can be called multiple times, and can be used to set / override / remove player properties. A null propValue indicates removal.
Implementations§
Source§impl PlayerPropertiesChangedEvent
impl PlayerPropertiesChangedEvent
pub fn new(player_id: PlayerId, properties: Vec<PlayerProperty>) -> Self
pub fn player_id(&self) -> &PlayerId
pub fn properties(&self) -> &[PlayerProperty]
Trait Implementations§
Source§impl Clone for PlayerPropertiesChangedEvent
impl Clone for PlayerPropertiesChangedEvent
Source§fn clone(&self) -> PlayerPropertiesChangedEvent
fn clone(&self) -> PlayerPropertiesChangedEvent
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 moreSource§impl Debug for PlayerPropertiesChangedEvent
impl Debug for PlayerPropertiesChangedEvent
Source§impl<'de> Deserialize<'de> for PlayerPropertiesChangedEvent
impl<'de> Deserialize<'de> for PlayerPropertiesChangedEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PlayerPropertiesChangedEvent
impl RefUnwindSafe for PlayerPropertiesChangedEvent
impl Send for PlayerPropertiesChangedEvent
impl Sync for PlayerPropertiesChangedEvent
impl Unpin for PlayerPropertiesChangedEvent
impl UnwindSafe for PlayerPropertiesChangedEvent
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