pub struct ApplicationProperty {
pub id: Option<String>,
pub key: Option<String>,
pub value: Option<String>,
pub name: Option<String>,
pub desc: Option<String>,
pub type: Option<String>,
pub default_value: Option<String>,
pub example: Option<String>,
pub allowed_values: Option<Vec<String>>,
}
Expand description
ApplicationProperty : Details of an application property.
Fields§
§id: Option<String>
The ID of the application property. The ID and key are the same.
key: Option<String>
The key of the application property. The ID and key are the same.
value: Option<String>
The new value.
name: Option<String>
The name of the application property.
desc: Option<String>
The description of the application property.
type: Option<String>
The data type of the application property.
default_value: Option<String>
The default value of the application property.
example: Option<String>
§allowed_values: Option<Vec<String>>
The allowed values, if applicable.
Implementations§
Source§impl ApplicationProperty
impl ApplicationProperty
Sourcepub fn new() -> ApplicationProperty
pub fn new() -> ApplicationProperty
Details of an application property.
Trait Implementations§
Source§impl Clone for ApplicationProperty
impl Clone for ApplicationProperty
Source§fn clone(&self) -> ApplicationProperty
fn clone(&self) -> ApplicationProperty
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 ApplicationProperty
impl Debug for ApplicationProperty
Source§impl Default for ApplicationProperty
impl Default for ApplicationProperty
Source§fn default() -> ApplicationProperty
fn default() -> ApplicationProperty
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApplicationProperty
impl<'de> Deserialize<'de> for ApplicationProperty
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 ApplicationProperty
impl PartialEq for ApplicationProperty
Source§impl Serialize for ApplicationProperty
impl Serialize for ApplicationProperty
impl StructuralPartialEq for ApplicationProperty
Auto Trait Implementations§
impl Freeze for ApplicationProperty
impl RefUnwindSafe for ApplicationProperty
impl Send for ApplicationProperty
impl Sync for ApplicationProperty
impl Unpin for ApplicationProperty
impl UnwindSafe for ApplicationProperty
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