Struct dsync::TableOptions
source · pub struct TableOptions<'a> { /* private fields */ }Implementations§
source§impl<'a> TableOptions<'a>
impl<'a> TableOptions<'a>
pub fn get_ignore(&self) -> bool
pub fn get_tsync(&self) -> bool
pub fn get_autogenerated_columns(&self) -> Vec<&str> ⓘ
pub fn ignore(self) -> Self
pub fn tsync(self) -> Self
pub fn autogenerated_columns(self, cols: Vec<&'a str>) -> Self
sourcepub fn apply_defaults(&self, other: &TableOptions<'a>) -> Self
pub fn apply_defaults(&self, other: &TableOptions<'a>) -> Self
Fills any None properties with values from another TableConfig
Trait Implementations§
source§impl<'a> Clone for TableOptions<'a>
impl<'a> Clone for TableOptions<'a>
source§fn clone(&self) -> TableOptions<'a>
fn clone(&self) -> TableOptions<'a>
Returns a copy 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<'a> Debug for TableOptions<'a>
impl<'a> Debug for TableOptions<'a>
source§impl<'a> Default for TableOptions<'a>
impl<'a> Default for TableOptions<'a>
source§fn default() -> TableOptions<'a>
fn default() -> TableOptions<'a>
Returns the “default value” for a type. Read more