Struct earth::feed::Mark
[−]
[src]
pub struct Mark { pub marked: bool, pub updated_at: Option<DateTime<FixedOffset>>, }
Represent whether the entry is read, starred, or tagged by user.
It's not a part of RFC 4287 Atom standard, but extension for Earth Reader.
Fields
marked: bool
Whether it's marked or not.
updated_at: Option<DateTime<FixedOffset>>
Updated time.
Trait Implementations
impl Clone for Mark
[src]
fn clone(&self) -> Mark
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for Mark
[src]
impl PartialEq for Mark
[src]
fn eq(&self, __arg_0: &Mark) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Mark) -> bool
This method tests for !=
.
impl Eq for Mark
[src]
impl Hash for Mark
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for Mark
[src]
impl Entity for Mark
[src]
type Id = ()
fn entity_id(&self) -> Cow<()>
If there are two or more marks that have the same tag name, these are all should be merged into one.
impl Mergeable for Mark
[src]
fn merge_with(&mut self, other: Mark)
Merge data with the given value to renew itself as a latest state. Read more
impl FromSchemaReader for Mark
[src]
fn read_from<B: BufRead>(&mut self, element: XmlElement<B>) -> DecodeResult<()>
fn build_from<B: BufRead>(element: XmlElement<B>) -> DecodeResult<Self>
fn match_child<B: BufRead>(
&mut self,
_name: &XmlName,
_child: XmlElement<B>
) -> DecodeResult<()>
&mut self,
_name: &XmlName,
_child: XmlElement<B>
) -> DecodeResult<()>