Trait huelib::resource::Modifier [−][src]
pub trait Modifier: Serialize {
type Id;
fn url_suffix(id: Self::Id) -> String;
fn execute(
&self,
bridge: &Bridge,
id: Self::Id
) -> Result<Vec<Response<Modified>>> { ... }
}
Expand description
Trait for modifying a resource.
Associated Types
Required methods
fn url_suffix(id: Self::Id) -> String
fn url_suffix(id: Self::Id) -> String
Returns the suffix of the API URL.