pub struct ParameterFlags(/* private fields */);Expand description
The GUC_* flags of a parameter that change how SQL treats it.
Implementations§
Source§impl ParameterFlags
impl ParameterFlags
pub const NONE: Self
Sourcepub const LIST_INPUT: Self
pub const LIST_INPUT: Self
SET accepts a list of values, which it joins with , (GUC_LIST_INPUT).
Sourcepub const LIST_QUOTE: Self
pub const LIST_QUOTE: Self
SET quotes each string of the list as an identifier needs (GUC_LIST_QUOTE).
Sourcepub const NO_SHOW_ALL: Self
pub const NO_SHOW_ALL: Self
Left out of SHOW ALL and pg_settings (GUC_NO_SHOW_ALL).
Sourcepub const NO_RESET_ALL: Self
pub const NO_RESET_ALL: Self
RESET ALL leaves it alone (GUC_NO_RESET_ALL).
Sourcepub const REPORT: Self
pub const REPORT: Self
The server reports every change to the client in a ParameterStatus message (GUC_REPORT).
Sourcepub const IS_NAME: Self
pub const IS_NAME: Self
A string value is truncated to the length of an identifier (GUC_IS_NAME).
pub const fn union(self, other: Self) -> Self
pub const fn contains(self, other: Self) -> bool
Trait Implementations§
Source§impl Clone for ParameterFlags
impl Clone for ParameterFlags
impl Copy for ParameterFlags
Source§impl Debug for ParameterFlags
impl Debug for ParameterFlags
Source§impl Default for ParameterFlags
impl Default for ParameterFlags
impl Eq for ParameterFlags
Source§impl PartialEq for ParameterFlags
impl PartialEq for ParameterFlags
impl StructuralPartialEq for ParameterFlags
Auto Trait Implementations§
impl Freeze for ParameterFlags
impl RefUnwindSafe for ParameterFlags
impl Send for ParameterFlags
impl Sync for ParameterFlags
impl Unpin for ParameterFlags
impl UnsafeUnpin for ParameterFlags
impl UnwindSafe for ParameterFlags
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more