Struct rive_models::channel::ChannelCompositeKey
source · pub struct ChannelCompositeKey {
pub channel: String,
pub user: String,
}Expand description
Composite primary key consisting of channel and user ID
Fields§
§channel: StringChannel ID
user: StringUser ID
Trait Implementations§
source§impl Clone for ChannelCompositeKey
impl Clone for ChannelCompositeKey
source§fn clone(&self) -> ChannelCompositeKey
fn clone(&self) -> ChannelCompositeKey
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 ChannelCompositeKey
impl Debug for ChannelCompositeKey
source§impl<'de> Deserialize<'de> for ChannelCompositeKey
impl<'de> Deserialize<'de> for ChannelCompositeKey
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
source§impl PartialEq<ChannelCompositeKey> for ChannelCompositeKey
impl PartialEq<ChannelCompositeKey> for ChannelCompositeKey
source§fn eq(&self, other: &ChannelCompositeKey) -> bool
fn eq(&self, other: &ChannelCompositeKey) -> bool
This method tests for
self and other values to be equal, and is used
by ==.