pub struct VosoConfiguration {
pub enabled: bool,
pub url: String,
pub ws: String,
}Expand description
Voice server configuration
Fields§
§enabled: boolWhether the service is enabled
url: StringURL pointing to the voice API
ws: StringURL pointing to the voice WebSocket server
Trait Implementations§
Source§impl Clone for VosoConfiguration
impl Clone for VosoConfiguration
Source§fn clone(&self) -> VosoConfiguration
fn clone(&self) -> VosoConfiguration
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 VosoConfiguration
impl Debug for VosoConfiguration
Source§impl<'de> Deserialize<'de> for VosoConfiguration
impl<'de> Deserialize<'de> for VosoConfiguration
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 VosoConfiguration
impl RefUnwindSafe for VosoConfiguration
impl Send for VosoConfiguration
impl Sync for VosoConfiguration
impl Unpin for VosoConfiguration
impl UnwindSafe for VosoConfiguration
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