pub enum ActixAdminViewModelFieldType {
Number,
Text,
TextArea,
Checkbox,
Date,
Time,
DateTime,
SelectList,
FileUpload,
}Variants§
Implementations§
Source§impl ActixAdminViewModelFieldType
impl ActixAdminViewModelFieldType
pub fn get_field_type( type_path: &str, select_list: String, is_textarea: bool, is_file_upload: bool, ) -> ActixAdminViewModelFieldType
Trait Implementations§
Source§impl Clone for ActixAdminViewModelFieldType
impl Clone for ActixAdminViewModelFieldType
Source§fn clone(&self) -> ActixAdminViewModelFieldType
fn clone(&self) -> ActixAdminViewModelFieldType
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 ActixAdminViewModelFieldType
impl Debug for ActixAdminViewModelFieldType
Source§impl<'de> Deserialize<'de> for ActixAdminViewModelFieldType
impl<'de> Deserialize<'de> for ActixAdminViewModelFieldType
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
Source§impl PartialEq for ActixAdminViewModelFieldType
impl PartialEq for ActixAdminViewModelFieldType
Source§fn eq(&self, other: &ActixAdminViewModelFieldType) -> bool
fn eq(&self, other: &ActixAdminViewModelFieldType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ActixAdminViewModelFieldType
Auto Trait Implementations§
impl Freeze for ActixAdminViewModelFieldType
impl RefUnwindSafe for ActixAdminViewModelFieldType
impl Send for ActixAdminViewModelFieldType
impl Sync for ActixAdminViewModelFieldType
impl Unpin for ActixAdminViewModelFieldType
impl UnwindSafe for ActixAdminViewModelFieldType
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