pub struct AvailabilityResponse {
pub available: bool,
pub reason: Option<String>,
}Expand description
Response for availability check
Fields§
§available: boolWhether STT is available
reason: Option<String>Reason if not available
Trait Implementations§
Source§impl Clone for AvailabilityResponse
impl Clone for AvailabilityResponse
Source§fn clone(&self) -> AvailabilityResponse
fn clone(&self) -> AvailabilityResponse
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 AvailabilityResponse
impl Debug for AvailabilityResponse
Source§impl<'de> Deserialize<'de> for AvailabilityResponse
impl<'de> Deserialize<'de> for AvailabilityResponse
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 AvailabilityResponse
impl RefUnwindSafe for AvailabilityResponse
impl Send for AvailabilityResponse
impl Sync for AvailabilityResponse
impl Unpin for AvailabilityResponse
impl UnsafeUnpin for AvailabilityResponse
impl UnwindSafe for AvailabilityResponse
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