pub struct SubmissionInfo {
pub url: Url,
pub title: String,
pub author: String,
pub date: DateTime<FixedOffset>,
pub forum: String,
pub id: u64,
}
Fields§
§url: Url
The url of the article/site that the submission is pointing to.
title: String
The full title of the submission.
The username of the author of the submission.
date: DateTime<FixedOffset>
The date the submission is posted.
forum: String
The forum in which the submission is posted.
id: u64
The submission id for the forum.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SubmissionInfo
impl RefUnwindSafe for SubmissionInfo
impl Send for SubmissionInfo
impl Sync for SubmissionInfo
impl Unpin for SubmissionInfo
impl UnwindSafe for SubmissionInfo
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more