Struct buttplug::server::device::configuration::specifier::WebsocketSpecifier
source · pub struct WebsocketSpecifier { /* private fields */ }Expand description
Specifier for Websocket Device Manager devices
The websocket device manager is a network based manager, so we have no info other than possibly a device name that is provided as part of the connection handshake.
Implementations§
source§impl WebsocketSpecifier
impl WebsocketSpecifier
pub fn merge(&mut self, other: WebsocketSpecifier)
source§impl WebsocketSpecifier
impl WebsocketSpecifier
pub fn new(names: &Vec<String>) -> WebsocketSpecifier
Trait Implementations§
source§impl Clone for WebsocketSpecifier
impl Clone for WebsocketSpecifier
source§fn clone(&self) -> WebsocketSpecifier
fn clone(&self) -> WebsocketSpecifier
Returns a copy 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 WebsocketSpecifier
impl Debug for WebsocketSpecifier
source§impl Default for WebsocketSpecifier
impl Default for WebsocketSpecifier
source§fn default() -> WebsocketSpecifier
fn default() -> WebsocketSpecifier
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WebsocketSpecifier
impl<'de> Deserialize<'de> for WebsocketSpecifier
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 WebsocketSpecifier
impl RefUnwindSafe for WebsocketSpecifier
impl Send for WebsocketSpecifier
impl Sync for WebsocketSpecifier
impl Unpin for WebsocketSpecifier
impl UnwindSafe for WebsocketSpecifier
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