pub struct PushAuthor {
pub name: String,
pub email: Option<String>,
pub username: Option<String>,
}
Fields§
§name: String
§email: Option<String>
§username: Option<String>
Trait Implementations§
Source§impl Clone for PushAuthor
impl Clone for PushAuthor
Source§fn clone(&self) -> PushAuthor
fn clone(&self) -> PushAuthor
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 PushAuthor
impl Debug for PushAuthor
Source§impl<'de> Deserialize<'de> for PushAuthor
impl<'de> Deserialize<'de> for PushAuthor
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 PushAuthor
impl Hash for PushAuthor
Source§impl Ord for PushAuthor
impl Ord for PushAuthor
Source§fn cmp(&self, other: &PushAuthor) -> Ordering
fn cmp(&self, other: &PushAuthor) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PushAuthor
impl PartialEq for PushAuthor
Source§impl PartialOrd for PushAuthor
impl PartialOrd for PushAuthor
impl Eq for PushAuthor
impl StructuralPartialEq for PushAuthor
Auto Trait Implementations§
impl Freeze for PushAuthor
impl RefUnwindSafe for PushAuthor
impl Send for PushAuthor
impl Sync for PushAuthor
impl Unpin for PushAuthor
impl UnwindSafe for PushAuthor
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