Struct rive_models::server::BannedUser
source · pub struct BannedUser {
pub id: String,
pub username: String,
pub avatar: Option<Attachment>,
}Expand description
Banned user
Just enoguh user information to list bans.
Fields§
§id: StringId of the banned user
username: StringUsername of the banned user
avatar: Option<Attachment>Avatar of the banned user
Trait Implementations§
source§impl Clone for BannedUser
impl Clone for BannedUser
source§fn clone(&self) -> BannedUser
fn clone(&self) -> BannedUser
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 BannedUser
impl Debug for BannedUser
source§impl<'de> Deserialize<'de> for BannedUser
impl<'de> Deserialize<'de> for BannedUser
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