Enum backend::models::pulsar::PulsarSearchData [−][src]
pub enum PulsarSearchData {
CreateBurrow(PulsarSearchBurrowData),
UpdateBurrow(PulsarSearchBurrowData),
DeleteBurrow(i64),
CreatePost(PulsarSearchPostData),
UpdatePost(PulsarSearchPostData),
DeletePost(i64),
CreateReply(PulsarSearchReplyData),
UpdateReply(PulsarSearchReplyData),
DeleteReply(i64, i32),
}
Expand description
Content operation sent to search engine
Fields
PulsarSearchData::CreateBurrow
: Create a new burrow with struct PulsarSearchBurrowDataPulsarSearchData::UpdateBurrow
: Update a burrow with struct PulsarSearchBurrowDataPulsarSearchData::DeleteBurrow
: Delete a burrow with burrow id in i64PulsarSearchData::CreatePost
: Create a new post with struct PulsarSearchPostDataPulsarSearchData::UpdatePost
: Update a post with struct PulsarSearchPostDataPulsarSearchData::DeletePost
: Delete a burrow with post id in i64PulsarSearchData::CreateReply
: Create a new reply with struct PulsarSearchReplyDataPulsarSearchData::UpdateReply
: Update a reply with struct PulsarSearchReplyDataPulsarSearchData::DeleteReply
: Delete a reply with (post_id, reply_id) in (i64, i32)
Variants
CreateBurrow(PulsarSearchBurrowData)
Tuple Fields of CreateBurrow
UpdateBurrow(PulsarSearchBurrowData)
Tuple Fields of UpdateBurrow
DeleteBurrow(i64)
Tuple Fields of DeleteBurrow
0: i64
CreatePost(PulsarSearchPostData)
Tuple Fields of CreatePost
UpdatePost(PulsarSearchPostData)
Tuple Fields of UpdatePost
DeletePost(i64)
Tuple Fields of DeletePost
0: i64
CreateReply(PulsarSearchReplyData)
Tuple Fields of CreateReply
UpdateReply(PulsarSearchReplyData)
Tuple Fields of UpdateReply
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
type Output = Result<PulsarSearchData, Error>
type Output = Result<PulsarSearchData, Error>
type produced from the message
deserialize method that will be called by the consumer
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
serialize method that will be called by the producer
Auto Trait Implementations
impl RefUnwindSafe for PulsarSearchData
impl Send for PulsarSearchData
impl Sync for PulsarSearchData
impl Unpin for PulsarSearchData
impl UnwindSafe for PulsarSearchData
Blanket Implementations
Mutably borrows from an owned value. Read more
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