pub struct RemoteContributor {
pub username: Option<String>,
pub pr_title: Option<String>,
pub pr_number: Option<i64>,
pub pr_labels: Vec<String>,
pub is_first_time: bool,
}
Expand description
Representation of a remote contributor.
Fields§
§username: Option<String>
Username.
pr_title: Option<String>
Title of the pull request.
pr_number: Option<i64>
The pull request that the user created.
pr_labels: Vec<String>
Labels of the pull request.
is_first_time: bool
Whether if the user contributed for the first time.
Trait Implementations§
Source§impl Clone for RemoteContributor
impl Clone for RemoteContributor
Source§fn clone(&self) -> RemoteContributor
fn clone(&self) -> RemoteContributor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RemoteContributor
impl Debug for RemoteContributor
Source§impl Default for RemoteContributor
impl Default for RemoteContributor
Source§fn default() -> RemoteContributor
fn default() -> RemoteContributor
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RemoteContributor
impl<'de> Deserialize<'de> for RemoteContributor
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 Hash for RemoteContributor
impl Hash for RemoteContributor
Source§impl PartialEq for RemoteContributor
impl PartialEq for RemoteContributor
Source§impl Serialize for RemoteContributor
impl Serialize for RemoteContributor
impl Eq for RemoteContributor
impl StructuralPartialEq for RemoteContributor
Auto Trait Implementations§
impl Freeze for RemoteContributor
impl RefUnwindSafe for RemoteContributor
impl Send for RemoteContributor
impl Sync for RemoteContributor
impl Unpin for RemoteContributor
impl UnwindSafe for RemoteContributor
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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