Struct octocrab::models::repos::GitUserTime
source · pub struct GitUserTime {
pub user: CommitAuthor,
pub date: Option<DateTime<Utc>>,
pub username: Option<String>,
}
Expand description
The author of a commit, identified by its name and email, as well as (optionally) a time and a github username
Fields§
§user: CommitAuthor
§date: Option<DateTime<Utc>>
§username: Option<String>
Trait Implementations§
source§impl Clone for GitUserTime
impl Clone for GitUserTime
source§fn clone(&self) -> GitUserTime
fn clone(&self) -> GitUserTime
Returns a copy 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 GitUserTime
impl Debug for GitUserTime
source§impl<'de> Deserialize<'de> for GitUserTime
impl<'de> Deserialize<'de> for GitUserTime
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 GitUserTime
impl PartialEq for GitUserTime
source§fn eq(&self, other: &GitUserTime) -> bool
fn eq(&self, other: &GitUserTime) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GitUserTime
impl Serialize for GitUserTime
impl StructuralPartialEq for GitUserTime
Auto Trait Implementations§
impl Freeze for GitUserTime
impl RefUnwindSafe for GitUserTime
impl Send for GitUserTime
impl Sync for GitUserTime
impl Unpin for GitUserTime
impl UnwindSafe for GitUserTime
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