pub struct BaseFieldDefinition {
pub name: String,
pub label: String,
pub type: Type,
pub group: Option<Option<String>>,
pub supported_operators: Vec<SupportedOperators>,
}Fields§
§name: String§label: String§type: Type§group: Option<Option<String>>§supported_operators: Vec<SupportedOperators>Implementations§
Source§impl BaseFieldDefinition
impl BaseFieldDefinition
pub fn new( name: String, label: String, type: Type, supported_operators: Vec<SupportedOperators>, ) -> BaseFieldDefinition
Trait Implementations§
Source§impl Clone for BaseFieldDefinition
impl Clone for BaseFieldDefinition
Source§fn clone(&self) -> BaseFieldDefinition
fn clone(&self) -> BaseFieldDefinition
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 BaseFieldDefinition
impl Debug for BaseFieldDefinition
Source§impl Default for BaseFieldDefinition
impl Default for BaseFieldDefinition
Source§fn default() -> BaseFieldDefinition
fn default() -> BaseFieldDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BaseFieldDefinition
impl<'de> Deserialize<'de> for BaseFieldDefinition
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 BaseFieldDefinition
impl PartialEq for BaseFieldDefinition
Source§impl Serialize for BaseFieldDefinition
impl Serialize for BaseFieldDefinition
impl StructuralPartialEq for BaseFieldDefinition
Auto Trait Implementations§
impl Freeze for BaseFieldDefinition
impl RefUnwindSafe for BaseFieldDefinition
impl Send for BaseFieldDefinition
impl Sync for BaseFieldDefinition
impl Unpin for BaseFieldDefinition
impl UnsafeUnpin for BaseFieldDefinition
impl UnwindSafe for BaseFieldDefinition
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