pub struct Column {
pub name: String,
pub column_type: ValueType,
pub limiter: ValueLimiter,
}Fields
name: Stringcolumn_type: ValueTypelimiter: ValueLimiterImplementations
sourceimpl Column
impl Column
pub fn new(
name: &str,
column_type: ValueType,
limiter: Option<ValueLimiter>
) -> Self
pub fn get_name(&self) -> &str
pub fn get_column_type(&self) -> &ValueType
pub fn rename(&mut self, new_name: &str) -> String
pub fn set_limiter(&mut self, limiter: ValueLimiter)
pub fn get_default_value(&self) -> Value
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnwindSafe for Column
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more