Struct mailpot_web::topics::SearchResult
source · pub struct SearchResult {
pk: i64,
id: String,
description: Option<String>,
topics: Vec<String>,
}
Fields§
§pk: i64
§id: String
§description: Option<String>
§topics: Vec<String>
Trait Implementations§
source§impl Clone for SearchResult
impl Clone for SearchResult
source§fn clone(&self) -> SearchResult
fn clone(&self) -> SearchResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SearchResult
impl Debug for SearchResult
source§impl<'de> Deserialize<'de> for SearchResult
impl<'de> Deserialize<'de> for SearchResult
source§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
source§impl Display for SearchResult
impl Display for SearchResult
source§impl Object for SearchResult
impl Object for SearchResult
source§impl Serialize for SearchResult
impl Serialize for SearchResult
source§impl StructObject for SearchResult
impl StructObject for SearchResult
source§fn get_field(&self, name: &str) -> Option<Value>
fn get_field(&self, name: &str) -> Option<Value>
Invoked by the engine to get a field of a struct. Read more
source§fn static_fields(&self) -> Option<&'static [&'static str]>
fn static_fields(&self) -> Option<&'static [&'static str]>
If possible returns a static vector of field names. Read more
source§fn field_count(&self) -> usize
fn field_count(&self) -> usize
Returns the number of fields. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SearchResult
impl Send for SearchResult
impl Sync for SearchResult
impl Unpin for SearchResult
impl UnwindSafe for SearchResult
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