rasn_compiler::intermediate::constraints

Trait PropertySetting

source
pub trait PropertySetting {
    const NAME: &'static str;

    // Required methods
    fn setting_name(&self) -> String;
    fn from_str(value: &str) -> Result<Self, Box<dyn Error>>
       where Self: Sized;
}

Required Associated Constants§

source

const NAME: &'static str

Required Methods§

source

fn setting_name(&self) -> String

source

fn from_str(value: &str) -> Result<Self, Box<dyn Error>>
where Self: Sized,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl PropertySetting for BasicSettings

source§

const NAME: &'static str = "Basic"

source§

impl PropertySetting for DateSettings

source§

const NAME: &'static str = "Date"

source§

impl PropertySetting for IntervalTypeSettings

source§

const NAME: &'static str = "Interval-type"

source§

impl PropertySetting for LocalOrUtcSettings

source§

const NAME: &'static str = "Local-or-UTC"

source§

impl PropertySetting for MidnightSettings

source§

const NAME: &'static str = "Midnight"

source§

impl PropertySetting for RecurrenceSettings

source§

const NAME: &'static str = "Recurrence"

source§

impl PropertySetting for StartEndPointSettings

source§

const NAME: &'static str = "SE-point"

source§

impl PropertySetting for TimeSettings

source§

const NAME: &'static str = "Time"

source§

impl PropertySetting for YearSettings

source§

const NAME: &'static str = "Year"