pub struct ActixAdminViewModelField {Show 16 fields
pub field_name: String,
pub html_input_type: String,
pub select_list: String,
pub dateformat: Option<String>,
pub is_option: bool,
pub field_type: ActixAdminViewModelFieldType,
pub list_sort_position: usize,
pub list_hide_column: bool,
pub list_regex_mask: Option<Regex>,
pub foreign_key: String,
pub is_tenant_ref: bool,
pub ceil: Option<u8>,
pub floor: Option<u8>,
pub shorten: Option<u16>,
pub use_tom_select_callback: bool,
pub readonly: bool,
}Fields§
§field_name: String§html_input_type: String§select_list: String§dateformat: Option<String>§is_option: bool§field_type: ActixAdminViewModelFieldType§list_sort_position: usize§list_hide_column: bool§list_regex_mask: Option<Regex>§foreign_key: String§is_tenant_ref: bool§ceil: Option<u8>§floor: Option<u8>§shorten: Option<u16>§use_tom_select_callback: bool§readonly: boolOptional read-only field flag (present but not writable). Read-only fields are still shown in the show view and in the edit form (disabled).
Trait Implementations§
Source§impl Clone for ActixAdminViewModelField
impl Clone for ActixAdminViewModelField
Source§fn clone(&self) -> ActixAdminViewModelField
fn clone(&self) -> ActixAdminViewModelField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ActixAdminViewModelField
impl Debug for ActixAdminViewModelField
Source§impl<'de> Deserialize<'de> for ActixAdminViewModelField
impl<'de> Deserialize<'de> for ActixAdminViewModelField
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ActixAdminViewModelField
impl RefUnwindSafe for ActixAdminViewModelField
impl Send for ActixAdminViewModelField
impl Sync for ActixAdminViewModelField
impl Unpin for ActixAdminViewModelField
impl UnsafeUnpin for ActixAdminViewModelField
impl UnwindSafe for ActixAdminViewModelField
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more