pub struct NotificationThread {
pub id: Option<i64>,
pub pinned: Option<bool>,
pub repository: Option<Box<Repository>>,
pub subject: Option<Box<NotificationSubject>>,
pub unread: Option<bool>,
pub updated_at: Option<String>,
pub url: Option<String>,
}
Expand description
NotificationThread : NotificationThread expose Notification on API
Fields§
§id: Option<i64>
§pinned: Option<bool>
§repository: Option<Box<Repository>>
§subject: Option<Box<NotificationSubject>>
§unread: Option<bool>
§updated_at: Option<String>
§url: Option<String>
Implementations§
Source§impl NotificationThread
impl NotificationThread
Sourcepub fn new() -> NotificationThread
pub fn new() -> NotificationThread
NotificationThread expose Notification on API
Trait Implementations§
Source§impl Clone for NotificationThread
impl Clone for NotificationThread
Source§fn clone(&self) -> NotificationThread
fn clone(&self) -> NotificationThread
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 NotificationThread
impl Debug for NotificationThread
Source§impl Default for NotificationThread
impl Default for NotificationThread
Source§fn default() -> NotificationThread
fn default() -> NotificationThread
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotificationThread
impl<'de> Deserialize<'de> for NotificationThread
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 NotificationThread
impl PartialEq for NotificationThread
Source§impl Serialize for NotificationThread
impl Serialize for NotificationThread
impl StructuralPartialEq for NotificationThread
Auto Trait Implementations§
impl Freeze for NotificationThread
impl RefUnwindSafe for NotificationThread
impl Send for NotificationThread
impl Sync for NotificationThread
impl Unpin for NotificationThread
impl UnwindSafe for NotificationThread
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