Trait huelib::resource::Creator [−][src]
pub trait Creator: Serialize {
fn url_suffix() -> String;
fn execute(&self, bridge: &Bridge) -> Result<String> { ... }
}
Expand description
Trait for creating a resource.
Required methods
fn url_suffix() -> String
fn url_suffix() -> String
Returns the suffix of the API URL.