Struct backend::models::search::TypesenseReplyData [−][src]
pub struct TypesenseReplyData {
pub id: String,
pub post_id: i64,
pub reply_id: i32,
pub burrow_id: i64,
pub content: String,
pub update_time: DateTimeWithTimeZone,
}
Expand description
Reply struct in typesense database
Fields
id
: Reply id in String for searchengine indexreply_id
: Reply id in i64post_id
: i64 id of post to which the reply belongsburrow_id
: i64 id of burrow to which the post belongscontent
: Reply content in Stringupdate_time
: Update time in DataTimeWithTimeZone struct
Fields
id: String
post_id: i64
reply_id: i32
burrow_id: i64
content: 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 TypesenseReplyData
impl Send for TypesenseReplyData
impl Sync for TypesenseReplyData
impl Unpin for TypesenseReplyData
impl UnwindSafe for TypesenseReplyData
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