[][src]Trait wsdclient::types::WSDEnum

pub trait WSDEnum where
    Self: Sized
{ fn premium_feature(&self) -> bool;
fn wsd_value(&self) -> String;
fn all() -> Vec<Self>; fn human_readable_value(&self) -> String { ... }
fn from_str(s: &str) -> Option<Self> { ... }
fn all_wsd_values() -> Vec<String> { ... }
fn all_human_readable_values() -> Vec<String> { ... }
fn help_str() -> String { ... } }

Trait with useful methods for working with websequencediagrams (wsd) enums (style, ...).

Required methods

fn premium_feature(&self) -> bool

is this value premium? Premium features requires correct API key

fn wsd_value(&self) -> String

value used in request to API

fn all() -> Vec<Self>

returns list of all values of type

Loading content...

Provided methods

Loading content...

Implementors

Loading content...