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>,
}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
impl Clone for FeattleDefinition[src]
impl Clone for FeattleDefinition[src]pub fn clone(&self) -> FeattleDefinition[src]
pub fn clone(&self) -> FeattleDefinition[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for FeattleDefinition[src]
impl Debug for FeattleDefinition[src]impl Serialize for FeattleDefinition[src]
impl Serialize for FeattleDefinition[src]pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer, [src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer, [src]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
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more