pub struct TsParser {
pub oid: u32,
pub name: String,
pub namespace: u32,
pub start: u32,
pub token: u32,
pub end: u32,
pub headline: u32,
pub lextype: u32,
}Expand description
A text search parser, one row of pg_ts_parser.
Fields§
§oid: u32The OID. Catalog::create_ts_parser sets it.
name: StringThe name.
namespace: u32The OID of the schema.
start: u32prsstart: the OID of the start function.
token: u32prstoken: the OID of the function that gives the next token.
end: u32prsend: the OID of the end function.
headline: u32prsheadline: the OID of the headline function, or 0.
lextype: u32prslextype: the OID of the function that gives the token types.
Trait Implementations§
impl Eq for TsParser
impl StructuralPartialEq for TsParser
Auto Trait Implementations§
impl Freeze for TsParser
impl RefUnwindSafe for TsParser
impl Send for TsParser
impl Sync for TsParser
impl Unpin for TsParser
impl UnsafeUnpin for TsParser
impl UnwindSafe for TsParser
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