pub struct ContributorResponse {
pub id: i64,
pub github_user_id: i64,
pub username: String,
pub credit_score: i32,
pub role: Option<String>,
pub is_blacklisted: bool,
pub last_activity: String,
}Expand description
Contributor response with last activity
Fields§
§id: i64§github_user_id: i64§username: String§credit_score: i32§role: Option<String>§is_blacklisted: bool§last_activity: StringTrait Implementations§
Source§impl Debug for ContributorResponse
impl Debug for ContributorResponse
Auto Trait Implementations§
impl Freeze for ContributorResponse
impl RefUnwindSafe for ContributorResponse
impl Send for ContributorResponse
impl Sync for ContributorResponse
impl Unpin for ContributorResponse
impl UnwindSafe for ContributorResponse
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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 more