Struct backend::models::pulsar::PulsarSearchPostData [−][src]
pub struct PulsarSearchPostData {
pub post_id: i64,
pub title: String,
pub burrow_id: i64,
pub section: Vec<PostSection>,
pub tag: Vec<String>,
pub update_time: DateTimeWithTimeZone,
}
Expand description
Post data sent to search engine
Fields
post_id
: Post id in i64burrow_id
: i64 id of burrow to which the post belongstitle
: Post title in Stringsection
: vector of Postsectiontag
: vector of tag in Stringupdate_time
: Update time in DataTimeWithTimeZone struct
Fields
post_id: i64
title: String
burrow_id: i64
section: Vec<PostSection>
tag: Vec<String>
update_time: DateTimeWithTimeZone
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PulsarSearchPostData
impl Send for PulsarSearchPostData
impl Sync for PulsarSearchPostData
impl Unpin for PulsarSearchPostData
impl UnwindSafe for PulsarSearchPostData
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn clone_any_send(&self) -> Box<dyn CloneAny + Send + 'static, Global> where
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + Sync + 'static, Global> where
T: Sync,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more