Struct rive_models::message::Interactions
source · pub struct Interactions {
pub reactions: Option<HashSet<String>>,
pub restrict_reactions: bool,
}Expand description
Information to guide interactions on this message
Fields§
§reactions: Option<HashSet<String>>Reactions which should always appear and be distinct
restrict_reactions: boolWhether reactions should be restricted to the given list
Trait Implementations§
source§impl Clone for Interactions
impl Clone for Interactions
source§fn clone(&self) -> Interactions
fn clone(&self) -> Interactions
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 Interactions
impl Debug for Interactions
source§impl Default for Interactions
impl Default for Interactions
source§fn default() -> Interactions
fn default() -> Interactions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Interactions
impl<'de> Deserialize<'de> for Interactions
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