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 strThe feattle’s name
description: StringIts documentation
format: SerializedFormatThe precise description of its format
value: ValueIts current in-memory value, as JSON
value_overview: StringA short human description of its current in-memory value
default: ValueIts 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§
Source§impl Clone for FeattleDefinition
impl Clone for FeattleDefinition
Source§fn clone(&self) -> FeattleDefinition
fn clone(&self) -> FeattleDefinition
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 FeattleDefinition
impl Debug for FeattleDefinition
Auto Trait Implementations§
impl Freeze for FeattleDefinition
impl RefUnwindSafe for FeattleDefinition
impl Send for FeattleDefinition
impl Sync for FeattleDefinition
impl Unpin for FeattleDefinition
impl UnwindSafe for FeattleDefinition
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