pub struct Property {
pub id: String,
pub title: Option<String>,
pub description: Option<String>,
pub default_value: Option<String>,
pub data_type: Option<String>,
pub is_multi_valued: Option<bool>,
pub is_mandatory: Option<bool>,
pub is_mandatory_enforced: Option<bool>,
pub is_protected: Option<bool>,
pub constraints: Option<Vec<Constraint>>,
}
Fields§
§id: String
§title: Option<String>
§description: Option<String>
§default_value: Option<String>
§data_type: Option<String>
§is_multi_valued: Option<bool>
§is_mandatory: Option<bool>
§is_mandatory_enforced: Option<bool>
§is_protected: Option<bool>
§constraints: Option<Vec<Constraint>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Property
impl<'de> Deserialize<'de> for Property
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 Property
impl RefUnwindSafe for Property
impl Send for Property
impl Sync for Property
impl Unpin for Property
impl UnwindSafe for Property
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