Struct hubcaps::notifications::Thread
source · pub struct Thread {
pub id: String,
pub unread: bool,
pub updated_at: String,
pub last_read_at: Option<String>,
pub reason: String,
pub subject: Subject,
pub repository: Repository,
pub url: String,
pub subscription_url: String,
}
Fields
id: String
unread: bool
updated_at: String
last_read_at: Option<String>
reason: String
subject: Subject
repository: Repository
url: String
subscription_url: String
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Thread
impl<'de> Deserialize<'de> for Thread
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for Thread
impl Send for Thread
impl Sync for Thread
impl Unpin for Thread
impl UnwindSafe for Thread
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more