pub struct GroupMemberPerson {
pub api_url: String,
pub color: Value,
pub domain_identifier: String,
pub image_url: Option<String>,
pub infos: Vec<String>,
pub initials: Option<String>,
pub title: String,
pub domain_attributes: DomainObjectPersonDomainAttributes,
pub domain_type: String,
pub frontend_url: String,
pub icon: String,
pub extra: Map<String, Value>,
}Expand description
Person who belongs to the group. domainIdentifier is the person ID as a string.
Fields§
§api_url: String§color: ValueOptional display color.
Allowed values: accent, amber, basic, blue, constructive, critical, cyan, destructive, emerald, error, fuchsia, gray, green, indigo, info, lime, magic, orange, pink, purple, red, rose, sky, success, teal, violet, warning, yellow.
domain_identifier: StringOpaque identifier within the domain; do not assume that every domain uses a numeric ID.
image_url: Option<String>Optional image URL.
infos: Vec<String>§initials: Option<String>Optional initials for an avatar fallback.
title: StringDisplay title of the referenced object.
domain_attributes: DomainObjectPersonDomainAttributes§domain_type: StringAllowed values: person.
frontend_url: String§icon: Stringuser for an ordinary person; user-shield for a censored person placeholder.
Allowed values: user, user-shield.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for GroupMemberPerson
impl Clone for GroupMemberPerson
Source§impl Debug for GroupMemberPerson
impl Debug for GroupMemberPerson
Source§impl Default for GroupMemberPerson
impl Default for GroupMemberPerson
Source§impl<'de> Deserialize<'de> for GroupMemberPerson
impl<'de> Deserialize<'de> for GroupMemberPerson
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 for GroupMemberPerson
impl PartialEq for GroupMemberPerson
Source§impl Serialize for GroupMemberPerson
impl Serialize for GroupMemberPerson
impl StructuralPartialEq for GroupMemberPerson
Auto Trait Implementations§
impl Freeze for GroupMemberPerson
impl RefUnwindSafe for GroupMemberPerson
impl Send for GroupMemberPerson
impl Sync for GroupMemberPerson
impl Unpin for GroupMemberPerson
impl UnsafeUnpin for GroupMemberPerson
impl UnwindSafe for GroupMemberPerson
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