Struct rive_models::event::ServerRoleUpdateEvent
source · pub struct ServerRoleUpdateEvent {
pub id: String,
pub role_id: String,
pub data: PartialRole,
pub clear: Vec<FieldsRole>,
}Expand description
Server role update event data
Fields§
§id: StringServer ID
role_id: StringRole ID
data: PartialRoleChanged role data
clear: Vec<FieldsRole>Removed role optional fields
Trait Implementations§
source§impl Clone for ServerRoleUpdateEvent
impl Clone for ServerRoleUpdateEvent
source§fn clone(&self) -> ServerRoleUpdateEvent
fn clone(&self) -> ServerRoleUpdateEvent
Returns a copy 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 ServerRoleUpdateEvent
impl Debug for ServerRoleUpdateEvent
source§impl<'de> Deserialize<'de> for ServerRoleUpdateEvent
impl<'de> Deserialize<'de> for ServerRoleUpdateEvent
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 RefUnwindSafe for ServerRoleUpdateEvent
impl Send for ServerRoleUpdateEvent
impl Sync for ServerRoleUpdateEvent
impl Unpin for ServerRoleUpdateEvent
impl UnwindSafe for ServerRoleUpdateEvent
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