#[non_exhaustive]pub struct DynamicDefaultValueBuilder { /* private fields */ }Expand description
A builder for DynamicDefaultValue.
Implementations§
source§impl DynamicDefaultValueBuilder
impl DynamicDefaultValueBuilder
sourcepub fn user_name_column(self, input: ColumnIdentifier) -> Self
pub fn user_name_column(self, input: ColumnIdentifier) -> Self
The column that contains the username.
sourcepub fn set_user_name_column(self, input: Option<ColumnIdentifier>) -> Self
pub fn set_user_name_column(self, input: Option<ColumnIdentifier>) -> Self
The column that contains the username.
sourcepub fn get_user_name_column(&self) -> &Option<ColumnIdentifier>
pub fn get_user_name_column(&self) -> &Option<ColumnIdentifier>
The column that contains the username.
sourcepub fn group_name_column(self, input: ColumnIdentifier) -> Self
pub fn group_name_column(self, input: ColumnIdentifier) -> Self
The column that contains the group name.
sourcepub fn set_group_name_column(self, input: Option<ColumnIdentifier>) -> Self
pub fn set_group_name_column(self, input: Option<ColumnIdentifier>) -> Self
The column that contains the group name.
sourcepub fn get_group_name_column(&self) -> &Option<ColumnIdentifier>
pub fn get_group_name_column(&self) -> &Option<ColumnIdentifier>
The column that contains the group name.
sourcepub fn default_value_column(self, input: ColumnIdentifier) -> Self
pub fn default_value_column(self, input: ColumnIdentifier) -> Self
The column that contains the default value of each user or group.
This field is required.sourcepub fn set_default_value_column(self, input: Option<ColumnIdentifier>) -> Self
pub fn set_default_value_column(self, input: Option<ColumnIdentifier>) -> Self
The column that contains the default value of each user or group.
sourcepub fn get_default_value_column(&self) -> &Option<ColumnIdentifier>
pub fn get_default_value_column(&self) -> &Option<ColumnIdentifier>
The column that contains the default value of each user or group.
sourcepub fn build(self) -> DynamicDefaultValue
pub fn build(self) -> DynamicDefaultValue
Consumes the builder and constructs a DynamicDefaultValue.
Trait Implementations§
source§impl Clone for DynamicDefaultValueBuilder
impl Clone for DynamicDefaultValueBuilder
source§fn clone(&self) -> DynamicDefaultValueBuilder
fn clone(&self) -> DynamicDefaultValueBuilder
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 Debug for DynamicDefaultValueBuilder
impl Debug for DynamicDefaultValueBuilder
source§impl Default for DynamicDefaultValueBuilder
impl Default for DynamicDefaultValueBuilder
source§fn default() -> DynamicDefaultValueBuilder
fn default() -> DynamicDefaultValueBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DynamicDefaultValueBuilder
impl PartialEq for DynamicDefaultValueBuilder
source§fn eq(&self, other: &DynamicDefaultValueBuilder) -> bool
fn eq(&self, other: &DynamicDefaultValueBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DynamicDefaultValueBuilder
Auto Trait Implementations§
impl Freeze for DynamicDefaultValueBuilder
impl RefUnwindSafe for DynamicDefaultValueBuilder
impl Send for DynamicDefaultValueBuilder
impl Sync for DynamicDefaultValueBuilder
impl Unpin for DynamicDefaultValueBuilder
impl UnwindSafe for DynamicDefaultValueBuilder
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.