pub struct Member {
pub username: String,
pub name: String,
pub id: UserId,
pub state: UserState,
pub avatar_url: Option<String>,
pub web_url: String,
pub access_level: u64,
pub expires_at: Option<NaiveDate>,
}
👎Deprecated since 0.1609.0: define deserialization types in client code
Expand description
A member with extra permissions on a project.
Fields§
§username: String
👎Deprecated since 0.1609.0: define deserialization types in client code
The username.
name: String
👎Deprecated since 0.1609.0: define deserialization types in client code
The display name.
id: UserId
👎Deprecated since 0.1609.0: define deserialization types in client code
The user’s ID.
state: UserState
👎Deprecated since 0.1609.0: define deserialization types in client code
The state of the user account.
avatar_url: Option<String>
👎Deprecated since 0.1609.0: define deserialization types in client code
The URL of the user’s avatar.
web_url: String
👎Deprecated since 0.1609.0: define deserialization types in client code
The URL of the user’s profile page.
access_level: u64
👎Deprecated since 0.1609.0: define deserialization types in client code
The access level of the user.
expires_at: Option<NaiveDate>
👎Deprecated since 0.1609.0: define deserialization types in client code
When the membership expires.
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 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