use crate::Label;
#[derive(Debug, Clone)]
pub struct Options {
pub identifier: String,
pub label: Label,
pub token: String,
pub controller_affinity: bool,
}
impl Options {
pub fn new<I, K>(identifier: I, label: Label, token: K) -> Self
where
I: Into<String>,
K: Into<String>,
{
Self {
identifier: identifier.into(),
label,
token: token.into(),
controller_affinity: true,
}
}
}