ViewWithOption

Struct ViewWithOption 

Source
pub struct ViewWithOption {
Show 21 fields pub check_option: Option<Cow<'static, str>>, pub security_barrier: Option<bool>, pub security_invoker: Option<bool>, pub fillfactor: Option<i32>, pub toast_tuple_target: Option<i32>, pub parallel_workers: Option<i32>, pub autovacuum_enabled: Option<bool>, pub vacuum_index_cleanup: Option<Cow<'static, str>>, pub vacuum_truncate: Option<bool>, pub autovacuum_vacuum_threshold: Option<i32>, pub autovacuum_vacuum_scale_factor: Option<i32>, pub autovacuum_vacuum_cost_delay: Option<i32>, pub autovacuum_vacuum_cost_limit: Option<i32>, pub autovacuum_freeze_min_age: Option<i64>, pub autovacuum_freeze_max_age: Option<i64>, pub autovacuum_freeze_table_age: Option<i64>, pub autovacuum_multixact_freeze_min_age: Option<i64>, pub autovacuum_multixact_freeze_max_age: Option<i64>, pub autovacuum_multixact_freeze_table_age: Option<i64>, pub log_autovacuum_min_duration: Option<i32>, pub user_catalog_table: Option<bool>,
}
Expand description

Runtime view WITH options entity

Fields§

§check_option: Option<Cow<'static, str>>

CHECK OPTION (‘local’ | ‘cascaded’)

§security_barrier: Option<bool>

Security barrier flag

§security_invoker: Option<bool>

Security invoker flag

§fillfactor: Option<i32>

Fillfactor (for materialized views)

§toast_tuple_target: Option<i32>

Toast tuple target (for materialized views)

§parallel_workers: Option<i32>

Parallel workers (for materialized views)

§autovacuum_enabled: Option<bool>

Autovacuum enabled (for materialized views)

§vacuum_index_cleanup: Option<Cow<'static, str>>

Vacuum index cleanup (for materialized views): ‘auto’ | ‘on’ | ‘off’

§vacuum_truncate: Option<bool>

Vacuum truncate (for materialized views)

§autovacuum_vacuum_threshold: Option<i32>

Autovacuum vacuum threshold (for materialized views)

§autovacuum_vacuum_scale_factor: Option<i32>

Autovacuum vacuum scale factor (for materialized views)

§autovacuum_vacuum_cost_delay: Option<i32>

Autovacuum vacuum cost delay (for materialized views)

§autovacuum_vacuum_cost_limit: Option<i32>

Autovacuum vacuum cost limit (for materialized views)

§autovacuum_freeze_min_age: Option<i64>

Autovacuum freeze min age (for materialized views)

§autovacuum_freeze_max_age: Option<i64>

Autovacuum freeze max age (for materialized views)

§autovacuum_freeze_table_age: Option<i64>

Autovacuum freeze table age (for materialized views)

§autovacuum_multixact_freeze_min_age: Option<i64>

Autovacuum multixact freeze min age (for materialized views)

§autovacuum_multixact_freeze_max_age: Option<i64>

Autovacuum multixact freeze max age (for materialized views)

§autovacuum_multixact_freeze_table_age: Option<i64>

Autovacuum multixact freeze table age (for materialized views)

§log_autovacuum_min_duration: Option<i32>

Log autovacuum min duration (for materialized views)

§user_catalog_table: Option<bool>

User catalog table (for materialized views)

Trait Implementations§

Source§

impl Clone for ViewWithOption

Source§

fn clone(&self) -> ViewWithOption

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ViewWithOption

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ViewWithOption

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl From<ViewWithOptionDef> for ViewWithOption

Source§

fn from(def: ViewWithOptionDef) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for ViewWithOption

Source§

fn eq(&self, other: &ViewWithOption) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for ViewWithOption

Source§

impl StructuralPartialEq for ViewWithOption

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.