Struct ssb_rpc::ssb::LatestItem
[−]
[src]
pub struct LatestItem { /* fields omitted */ }
The responses to a Latest
request.
Each item holds the id of the feed it describes, the feed's latest sequence number, and the timestamp of the feed's latest message.
Methods
impl LatestItem
[src]
pub fn feed_id(&self) -> FeedId
[src]
Get the FeedId
of the item.
pub fn feed_id_ref(&self) -> &FeedId
[src]
Get a reference to the FeedId
item.
pub fn sequence_ref(&self) -> &SequenceNumber
[src]
Get a reference to the sequence number of the item.
pub fn timestamp_ref(&self) -> &Timestamp
[src]
Get a reference to the timestamp of the item.
Trait Implementations
impl Debug for LatestItem
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for LatestItem
[src]
fn clone(&self) -> LatestItem
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for LatestItem
[src]
fn eq(&self, __arg_0: &LatestItem) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &LatestItem) -> bool
[src]
This method tests for !=
.