pub struct PublicationRead {
pub publication: Publication,
pub entries: Vec<Entry>,
pub complete: bool,
}Expand description
What one read of a publication produced.
complete is the fact the store cannot recover afterwards. A truncated
walk and a short publication return the same entries; the difference decides
whether an empty result is a quiet blog or a read that gave up, and the
caller has no other way to tell. fetch used to drop it on the floor after
logging a warning.
Fields§
§publication: Publication§entries: Vec<Entry>§complete: boolTrait Implementations§
Source§impl Clone for PublicationRead
impl Clone for PublicationRead
Auto Trait Implementations§
impl Freeze for PublicationRead
impl RefUnwindSafe for PublicationRead
impl Send for PublicationRead
impl Sync for PublicationRead
impl Unpin for PublicationRead
impl UnsafeUnpin for PublicationRead
impl UnwindSafe for PublicationRead
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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