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
Auto Trait Implementations§
impl RefUnwindSafe for PartialInvite
impl Send for PartialInvite
impl Sync for PartialInvite
impl Unpin for PartialInvite
impl UnwindSafe for PartialInvite
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