pub struct Profile {
pub name: SpeakerName,
pub role: Role,
pub engine: String,
pub enrolled_at: SystemTime,
pub vector: Vec<f32>,
}Expand description
One enrolled voice.
Fields§
§name: SpeakerName§role: Role§engine: StringThe engine that measured vector, by its Engine::NAME.
enrolled_at: SystemTime§vector: Vec<f32>Unit norm, so a cosine against it is a plain dot product.
Trait Implementations§
impl StructuralPartialEq for Profile
Auto Trait Implementations§
impl Freeze for Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnsafeUnpin for Profile
impl UnwindSafe for Profile
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