pub struct FillWithRequired {
pub action_index: usize,
pub table: String,
pub column: String,
pub action_type: &'static str,
pub column_type: Option<String>,
pub default_value: Option<String>,
pub enum_values: Option<Vec<String>>,
}Expand description
Information about an action that requires a fill_with value.
Fields§
§action_index: usizeIndex of the action in the migration plan.
table: StringTable name.
column: StringColumn name.
action_type: &'static strType of action: “AddColumn” or “ModifyColumnNullable”.
column_type: Option<String>Column type (for display purposes).
default_value: Option<String>Default fill value hint for this column type.
enum_values: Option<Vec<String>>Enum values if the column is an enum type (for selection UI).
Trait Implementations§
Source§impl Clone for FillWithRequired
impl Clone for FillWithRequired
Source§fn clone(&self) -> FillWithRequired
fn clone(&self) -> FillWithRequired
Returns a duplicate 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 FillWithRequired
impl Debug for FillWithRequired
Source§impl PartialEq for FillWithRequired
impl PartialEq for FillWithRequired
impl Eq for FillWithRequired
impl StructuralPartialEq for FillWithRequired
Auto Trait Implementations§
impl Freeze for FillWithRequired
impl RefUnwindSafe for FillWithRequired
impl Send for FillWithRequired
impl Sync for FillWithRequired
impl Unpin for FillWithRequired
impl UnwindSafe for FillWithRequired
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