pub struct AudioDiagnostic {
pub code: AudioDiagnosticCode,
pub message: String,
pub hint: Option<String>,
}Expand description
Optional diagnostic details for the current runtime status.
Fields§
§code: AudioDiagnosticCodeMachine-readable diagnostic code.
message: StringHuman-readable error/diagnostic message.
hint: Option<String>Optional actionable hint for the user.
Trait Implementations§
Source§impl Clone for AudioDiagnostic
impl Clone for AudioDiagnostic
Source§fn clone(&self) -> AudioDiagnostic
fn clone(&self) -> AudioDiagnostic
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 AudioDiagnostic
impl Debug for AudioDiagnostic
Source§impl<'de> Deserialize<'de> for AudioDiagnostic
impl<'de> Deserialize<'de> for AudioDiagnostic
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 AudioDiagnostic
impl RefUnwindSafe for AudioDiagnostic
impl Send for AudioDiagnostic
impl Sync for AudioDiagnostic
impl Unpin for AudioDiagnostic
impl UnwindSafe for AudioDiagnostic
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