pub struct ReposDeleteFileRequestAuthor {
pub name: Option<String>,
pub email: Option<String>,
}
Expand description
ReposDeleteFileRequestAuthor : object containing information about the author.
Fields§
§name: Option<String>
The name of the author (or committer) of the commit
email: Option<String>
The email of the author (or committer) of the commit
Implementations§
Source§impl ReposDeleteFileRequestAuthor
impl ReposDeleteFileRequestAuthor
Sourcepub fn new() -> ReposDeleteFileRequestAuthor
pub fn new() -> ReposDeleteFileRequestAuthor
object containing information about the author.
Trait Implementations§
Source§impl Clone for ReposDeleteFileRequestAuthor
impl Clone for ReposDeleteFileRequestAuthor
Source§fn clone(&self) -> ReposDeleteFileRequestAuthor
fn clone(&self) -> ReposDeleteFileRequestAuthor
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 ReposDeleteFileRequestAuthor
impl Debug for ReposDeleteFileRequestAuthor
Source§impl Default for ReposDeleteFileRequestAuthor
impl Default for ReposDeleteFileRequestAuthor
Source§fn default() -> ReposDeleteFileRequestAuthor
fn default() -> ReposDeleteFileRequestAuthor
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReposDeleteFileRequestAuthor
impl<'de> Deserialize<'de> for ReposDeleteFileRequestAuthor
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 ReposDeleteFileRequestAuthor
impl PartialEq for ReposDeleteFileRequestAuthor
Source§fn eq(&self, other: &ReposDeleteFileRequestAuthor) -> bool
fn eq(&self, other: &ReposDeleteFileRequestAuthor) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ReposDeleteFileRequestAuthor
Auto Trait Implementations§
impl Freeze for ReposDeleteFileRequestAuthor
impl RefUnwindSafe for ReposDeleteFileRequestAuthor
impl Send for ReposDeleteFileRequestAuthor
impl Sync for ReposDeleteFileRequestAuthor
impl Unpin for ReposDeleteFileRequestAuthor
impl UnwindSafe for ReposDeleteFileRequestAuthor
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