pub struct PgTsParser {
pub prsname: SmolStr,
pub prsnamespace: SmolStr,
pub prsstart: SmolStr,
pub prstoken: SmolStr,
pub prsend: SmolStr,
pub prsheadline: Option<SmolStr>,
pub prslextype: SmolStr,
}Expand description
The DDL-only contents of pg_ts_parser
Fields§
§prsname: SmolStrname Text search parser name
prsnamespace: SmolStroid (references pg_namespace.oid) The OID of the namespace that contains this parser
prsstart: SmolStrregproc (references pg_proc.oid) OID of the parser’s startup function
prstoken: SmolStrregproc (references pg_proc.oid) OID of the parser’s next-token function
prsend: SmolStrregproc (references pg_proc.oid) OID of the parser’s shutdown function
prsheadline: Option<SmolStr>regproc (references pg_proc.oid) OID of the parser’s headline function (zero if none)
prslextype: SmolStrregproc (references pg_proc.oid) OID of the parser’s lextype function
Trait Implementations§
Source§impl Clone for PgTsParser
impl Clone for PgTsParser
Source§fn clone(&self) -> PgTsParser
fn clone(&self) -> PgTsParser
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 PgTsParser
impl Debug for PgTsParser
Source§impl<'de> Deserialize<'de> for PgTsParser
impl<'de> Deserialize<'de> for PgTsParser
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PgTsParser, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PgTsParser, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PgTsParser
impl PartialEq for PgTsParser
Source§impl Serialize for PgTsParser
impl Serialize for PgTsParser
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for PgTsParser
impl StructuralPartialEq for PgTsParser
Auto Trait Implementations§
impl Freeze for PgTsParser
impl RefUnwindSafe for PgTsParser
impl Send for PgTsParser
impl Sync for PgTsParser
impl Unpin for PgTsParser
impl UnsafeUnpin for PgTsParser
impl UnwindSafe for PgTsParser
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.