pub struct ResourceKey {
pub plugin_kind: String,
pub params_hash: String,
}Expand description
A unique key identifying a resource based on plugin kind and parameters.
Fields§
§plugin_kind: StringThe plugin kind (e.g., “plugin::native::kokoro”, “plugin::native::whisper”)
params_hash: StringHash of canonicalized parameters that affect resource creation
Implementations§
Trait Implementations§
Source§impl Clone for ResourceKey
impl Clone for ResourceKey
Source§fn clone(&self) -> ResourceKey
fn clone(&self) -> ResourceKey
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResourceKey
impl Debug for ResourceKey
Source§impl Display for ResourceKey
impl Display for ResourceKey
Source§impl Hash for ResourceKey
impl Hash for ResourceKey
Source§impl PartialEq for ResourceKey
impl PartialEq for ResourceKey
impl Eq for ResourceKey
impl StructuralPartialEq for ResourceKey
Auto Trait Implementations§
impl Freeze for ResourceKey
impl RefUnwindSafe for ResourceKey
impl Send for ResourceKey
impl Sync for ResourceKey
impl Unpin for ResourceKey
impl UnwindSafe for ResourceKey
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