pub struct FtsProfile {
pub kind: String,
pub tokenizer: String,
pub active_at: Option<i64>,
pub created_at: i64,
}Expand description
Stored FTS tokenizer profile for a node kind.
Created and updated by AdminService::set_fts_profile.
Fields§
§kind: StringNode kind this profile applies to (e.g. "Article").
tokenizer: StringFTS5 tokenizer string (e.g. "porter unicode61 remove_diacritics 2").
active_at: Option<i64>Unix timestamp when the profile was last activated, or None if never.
created_at: i64Unix timestamp when the profile row was first created.
Trait Implementations§
Source§impl Clone for FtsProfile
impl Clone for FtsProfile
Source§fn clone(&self) -> FtsProfile
fn clone(&self) -> FtsProfile
Returns a duplicate 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 FtsProfile
impl Debug for FtsProfile
Source§impl<'de> Deserialize<'de> for FtsProfile
impl<'de> Deserialize<'de> for FtsProfile
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 PartialEq for FtsProfile
impl PartialEq for FtsProfile
Source§impl Serialize for FtsProfile
impl Serialize for FtsProfile
impl Eq for FtsProfile
impl StructuralPartialEq for FtsProfile
Auto Trait Implementations§
impl Freeze for FtsProfile
impl RefUnwindSafe for FtsProfile
impl Send for FtsProfile
impl Sync for FtsProfile
impl Unpin for FtsProfile
impl UnsafeUnpin for FtsProfile
impl UnwindSafe for FtsProfile
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.