pub struct Member {Show 18 fields
pub id: PkId,
pub uuid: Uuid,
pub name: String,
pub display_name: Option<String>,
pub color: Option<String>,
pub birthday: Option<String>,
pub pronouns: Option<String>,
pub avatar_url: Option<Url>,
pub webhook_avatar_url: Option<Url>,
pub banner: Option<Url>,
pub description: Option<String>,
pub created: Option<OffsetDateTime>,
pub proxy_tags: Vec<ProxyTag>,
pub keep_proxy: bool,
pub autoproxy_enabled: Option<bool>,
pub message_count: Option<i32>,
pub last_message_timestamp: Option<OffsetDateTime>,
pub privacy: Option<MemberPrivacy>,
}Fields§
§id: PkId§uuid: Uuid§name: String§display_name: Option<String>§color: Option<String>§birthday: Option<String>§pronouns: Option<String>§avatar_url: Option<Url>§webhook_avatar_url: Option<Url>§description: Option<String>§created: Option<OffsetDateTime>§keep_proxy: bool§autoproxy_enabled: Option<bool>§message_count: Option<i32>§last_message_timestamp: Option<OffsetDateTime>§privacy: Option<MemberPrivacy>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Member
impl<'de> Deserialize<'de> for Member
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 Freeze for Member
impl RefUnwindSafe for Member
impl Send for Member
impl Sync for Member
impl Unpin for Member
impl UnsafeUnpin for Member
impl UnwindSafe for Member
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