Enum rive_models::channel::PartialInvite
source · pub enum PartialInvite {
Server {
code: String,
server: String,
creator: String,
channel: String,
},
Group {
code: String,
creator: String,
channel: String,
},
}Expand description
Representation of an invite to a channel on Revolt
Variants§
Trait Implementations§
source§impl Clone for PartialInvite
impl Clone for PartialInvite
source§fn clone(&self) -> PartialInvite
fn clone(&self) -> PartialInvite
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 PartialInvite
impl Debug for PartialInvite
source§impl<'de> Deserialize<'de> for PartialInvite
impl<'de> Deserialize<'de> for PartialInvite
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