[][src]Struct buttplug::core::messages::ServerInfo

pub struct ServerInfo {
    pub major_version: u32,
    pub minor_version: u32,
    pub build_version: u32,
    pub message_version: u32,
    pub max_ping_time: u32,
    pub server_name: String,
    // some fields omitted
}

Fields

major_version: u32minor_version: u32build_version: u32message_version: u32max_ping_time: u32server_name: String

Methods

impl ServerInfo[src]

pub fn new(server_name: &str, message_version: u32, max_ping_time: u32) -> Self[src]

Trait Implementations

impl ButtplugMessage for ServerInfo[src]

impl Clone for ServerInfo[src]

impl Default for ServerInfo[src]

impl PartialEq<ServerInfo> for ServerInfo[src]

impl Debug for ServerInfo[src]

impl StructuralPartialEq for ServerInfo[src]

impl Serialize for ServerInfo[src]

impl<'de> Deserialize<'de> for ServerInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]