#[non_exhaustive]pub enum ReadbackFormat {
NatoPhonetic,
Hex,
Raw,
}Expand description
Display format for the oral_readback action.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NatoPhonetic
NATO phonetic alphabet (default). Also written nato.
Hex
Hex pairs, grouped by 4 bytes.
Raw
Raw value, no transformation.
Implementations§
Trait Implementations§
Source§impl Clone for ReadbackFormat
impl Clone for ReadbackFormat
impl Copy for ReadbackFormat
Source§impl Debug for ReadbackFormat
impl Debug for ReadbackFormat
Source§impl Default for ReadbackFormat
impl Default for ReadbackFormat
Source§impl<'de> Deserialize<'de> for ReadbackFormat
impl<'de> Deserialize<'de> for ReadbackFormat
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
impl Eq for ReadbackFormat
Source§impl From<ReadbackFormat> for String
impl From<ReadbackFormat> for String
Source§fn from(format: ReadbackFormat) -> Self
fn from(format: ReadbackFormat) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for ReadbackFormat
impl JsonSchema for ReadbackFormat
Source§fn json_schema(_: &mut SchemaGenerator) -> Schema
fn json_schema(_: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ReadbackFormat
impl PartialEq for ReadbackFormat
Source§impl Serialize for ReadbackFormat
impl Serialize for ReadbackFormat
impl StructuralPartialEq for ReadbackFormat
Auto Trait Implementations§
impl Freeze for ReadbackFormat
impl RefUnwindSafe for ReadbackFormat
impl Send for ReadbackFormat
impl Sync for ReadbackFormat
impl Unpin for ReadbackFormat
impl UnsafeUnpin for ReadbackFormat
impl UnwindSafe for ReadbackFormat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.