Struct feattle::FeattleDefinition [−][src]
pub struct FeattleDefinition {
pub key: &'static str,
pub description: String,
pub format: SerializedFormat,
pub value: Value,
pub value_overview: String,
pub default: Value,
pub modified_at: Option<DateTime<Utc>>,
pub modified_by: Option<String>,
}
Expand description
A data struct, describing a single feattle.
Fields
key: &'static str
The feattle’s name
description: String
Its documentation
format: SerializedFormat
The precise description of its format
value: Value
Its current in-memory value, as JSON
value_overview: String
A short human description of its current in-memory value
default: Value
Its default value, as JSON
modified_at: Option<DateTime<Utc>>
The last time it was modified by an user
modified_by: Option<String>
The user that last modified it
Trait Implementations
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for FeattleDefinition
impl Send for FeattleDefinition
impl Sync for FeattleDefinition
impl Unpin for FeattleDefinition
impl UnwindSafe for FeattleDefinition
Blanket Implementations
Mutably borrows from an owned value. Read more