pub struct SpeakerFeatureEvidence { /* private fields */ }Implementations§
Source§impl SpeakerFeatureEvidence
impl SpeakerFeatureEvidence
pub fn new( speaker: LocalSpeakerLabel, packet_one: String, packet_two: String, packet_three: String, ) -> Result<Self, ProtocolError>
pub fn speaker(&self) -> LocalSpeakerLabel
pub fn packet(&self, packet: FeaturePacket) -> &str
pub fn packets(&self) -> [&str; 3]
Trait Implementations§
Source§impl Clone for SpeakerFeatureEvidence
impl Clone for SpeakerFeatureEvidence
Source§fn clone(&self) -> SpeakerFeatureEvidence
fn clone(&self) -> SpeakerFeatureEvidence
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SpeakerFeatureEvidence
impl Debug for SpeakerFeatureEvidence
impl Eq for SpeakerFeatureEvidence
Source§impl PartialEq for SpeakerFeatureEvidence
impl PartialEq for SpeakerFeatureEvidence
Source§impl Serialize for SpeakerFeatureEvidence
impl Serialize for SpeakerFeatureEvidence
impl StructuralPartialEq for SpeakerFeatureEvidence
Auto Trait Implementations§
impl Freeze for SpeakerFeatureEvidence
impl RefUnwindSafe for SpeakerFeatureEvidence
impl Send for SpeakerFeatureEvidence
impl Sync for SpeakerFeatureEvidence
impl Unpin for SpeakerFeatureEvidence
impl UnsafeUnpin for SpeakerFeatureEvidence
impl UnwindSafe for SpeakerFeatureEvidence
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