pub struct RigConfig {
pub profile: String,
pub roles: BTreeMap<Role, String>,
}Expand description
Rig selection: a named profile (“auto” to detect) and/or an inline role map (which wins over the profile for the roles it names).
Fields§
§profile: StringBuilt-in profile name, or "auto" to select the best built-in
match.
roles: BTreeMap<Role, String>Inline role-to-bone-name bindings. These are interpreted as explicit overrides by callers that merge them with a profile.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RigConfig
impl<'de> Deserialize<'de> for RigConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RigConfig
impl RefUnwindSafe for RigConfig
impl Send for RigConfig
impl Sync for RigConfig
impl Unpin for RigConfig
impl UnsafeUnpin for RigConfig
impl UnwindSafe for RigConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more