pub struct SeasonMember {
pub user_id: Uuid,
pub username: String,
pub display_name: String,
pub role: String,
pub active: bool,
pub source: String,
pub manager: bool,
pub checkouts: i64,
pub last_active_at: Option<DateTime<Utc>>,
pub expires_at: Option<NaiveDate>,
pub expired: bool,
}Expand description
A member of the group as the season page shows them.
Fields§
§user_id: Uuid§username: String§display_name: String§role: String§active: bool§source: Stringmanual or oidc.
manager: bool§checkouts: i64Revisions of the group the member has checked out.
last_active_at: Option<DateTime<Utc>>Latest sign-in, use of an API or desktop token, or the account’s creation.
expires_at: Option<NaiveDate>“Member until”; only a flag.
expired: boolexpires_at has passed.
Trait Implementations§
Source§impl Clone for SeasonMember
impl Clone for SeasonMember
Source§impl Debug for SeasonMember
impl Debug for SeasonMember
Source§impl<'a, R: Row> FromRow<'a, R> for SeasonMemberwhere
&'a str: ColumnIndex<R>,
Uuid: Decode<'a, R::Database> + Type<R::Database>,
String: Decode<'a, R::Database> + Type<R::Database>,
bool: Decode<'a, R::Database> + Type<R::Database>,
i64: Decode<'a, R::Database> + Type<R::Database>,
Option<DateTime<Utc>>: Decode<'a, R::Database> + Type<R::Database>,
Option<NaiveDate>: Decode<'a, R::Database> + Type<R::Database>,
impl<'a, R: Row> FromRow<'a, R> for SeasonMemberwhere
&'a str: ColumnIndex<R>,
Uuid: Decode<'a, R::Database> + Type<R::Database>,
String: Decode<'a, R::Database> + Type<R::Database>,
bool: Decode<'a, R::Database> + Type<R::Database>,
i64: Decode<'a, R::Database> + Type<R::Database>,
Option<DateTime<Utc>>: Decode<'a, R::Database> + Type<R::Database>,
Option<NaiveDate>: Decode<'a, R::Database> + Type<R::Database>,
Auto Trait Implementations§
impl Freeze for SeasonMember
impl RefUnwindSafe for SeasonMember
impl Send for SeasonMember
impl Sync for SeasonMember
impl Unpin for SeasonMember
impl UnsafeUnpin for SeasonMember
impl UnwindSafe for SeasonMember
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreimpl<T> Parallelizable for T
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.