Trait TrelloObject

Source
pub trait TrelloObject: Debug {
    // Required methods
    fn get_type() -> String;
    fn get_name(&self) -> &str;
    fn get_fields() -> &'static [&'static str];
}

Required Methods§

Source

fn get_type() -> String

Source

fn get_name(&self) -> &str

Source

fn get_fields() -> &'static [&'static str]

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§