pub struct NotificationSubject {
pub html_url: Option<String>,
pub latest_comment_html_url: Option<String>,
pub latest_comment_url: Option<String>,
pub state: Option<String>,
pub title: Option<String>,
pub type: Option<String>,
pub url: Option<String>,
}
Expand description
NotificationSubject : NotificationSubject contains the notification subject (Issue/Pull/Commit)
Fields§
§html_url: Option<String>
§latest_comment_html_url: Option<String>
§latest_comment_url: Option<String>
§state: Option<String>
StateType issue state type
title: Option<String>
§type: Option<String>
NotifySubjectType represent type of notification subject
url: Option<String>
Implementations§
Source§impl NotificationSubject
impl NotificationSubject
Sourcepub fn new() -> NotificationSubject
pub fn new() -> NotificationSubject
NotificationSubject contains the notification subject (Issue/Pull/Commit)
Trait Implementations§
Source§impl Clone for NotificationSubject
impl Clone for NotificationSubject
Source§fn clone(&self) -> NotificationSubject
fn clone(&self) -> NotificationSubject
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 NotificationSubject
impl Debug for NotificationSubject
Source§impl Default for NotificationSubject
impl Default for NotificationSubject
Source§fn default() -> NotificationSubject
fn default() -> NotificationSubject
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotificationSubject
impl<'de> Deserialize<'de> for NotificationSubject
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 NotificationSubject
impl PartialEq for NotificationSubject
Source§impl Serialize for NotificationSubject
impl Serialize for NotificationSubject
impl StructuralPartialEq for NotificationSubject
Auto Trait Implementations§
impl Freeze for NotificationSubject
impl RefUnwindSafe for NotificationSubject
impl Send for NotificationSubject
impl Sync for NotificationSubject
impl Unpin for NotificationSubject
impl UnwindSafe for NotificationSubject
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