Struct foxbox_taxonomy::values::ThinkerbellRule [] [src]

pub struct ThinkerbellRule {
    pub name: String,
    pub source: String,
}

Fields

name
source

Trait Implementations

impl Deserialize for ThinkerbellRule

fn deserialize<__D>(deserializer: &mut __D) -> Result<ThinkerbellRule, __D::Error> where __D: Deserializer

impl Serialize for ThinkerbellRule

fn serialize<__S>(&self, serializer: &mut __S) -> Result<(), __S::Error> where __S: Serializer

impl Parser<ThinkerbellRule> for ThinkerbellRule

fn description() -> String

fn parse(path: Path, source: &mut JSON) -> Result<Self, ParseError>

fn from_str(source: &str) -> Result<T, ParseError>

fn take(path: Path, source: &mut JSON, field_name: &str) -> Result<T, ParseError>

fn take_opt(path: Path, source: &mut JSON, field_name: &str) -> Option<Result<T, ParseError>>

fn take_vec_opt(path: Path, source: &mut JSON, field_name: &str) -> Option<Result<Vec<T>, ParseError>>

fn take_vec(path: Path, source: &mut JSON, field_name: &str) -> Result<Vec<T>, ParseError>

impl ToJSON for ThinkerbellRule

fn to_json(&self, parts: &mut BinaryParts) -> JSON

Derived Implementations

impl PartialEq for ThinkerbellRule

fn eq(&self, __arg_0: &ThinkerbellRule) -> bool

fn ne(&self, __arg_0: &ThinkerbellRule) -> bool

impl Clone for ThinkerbellRule

fn clone(&self) -> ThinkerbellRule

1.0.0fn clone_from(&mut self, source: &Self)

impl Debug for ThinkerbellRule

fn fmt(&self, __arg_0: &mut Formatter) -> Result