pub struct Idea {
pub id: String,
pub kind: IdeaKind,
pub title: String,
pub body: String,
pub author: String,
pub time: DateTime<Utc>,
pub symbol: String,
pub interval: String,
pub attachment: Option<String>,
}Expand description
An entry of the host’s feed.
Fields§
§id: StringThe host’s identifier of the entry.
kind: IdeaKindIdea or short post.
title: StringThe title; empty for a short post.
body: StringThe text.
Who published it.
time: DateTime<Utc>When it was published.
symbol: StringThe instrument it is about.
interval: StringThe chart interval it was made on, as the host names it.
attachment: Option<String>The host’s reference to the attached chart image, if any: a link or a key.
Trait Implementations§
impl StructuralPartialEq for Idea
Auto Trait Implementations§
impl Freeze for Idea
impl RefUnwindSafe for Idea
impl Send for Idea
impl Sync for Idea
impl Unpin for Idea
impl UnsafeUnpin for Idea
impl UnwindSafe for Idea
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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