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

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

Fields

message_version: ButtplugMessageSpecVersionmax_ping_time: u32server_name: String

Implementations

impl ServerInfo[src]

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

Trait Implementations

impl ButtplugMessage for ServerInfo[src]

impl Clone for ServerInfo[src]

impl Debug for ServerInfo[src]

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

impl From<ServerInfo> for ServerInfoV0[src]

impl From<ServerInfo> for ButtplugServerMessage[src]

impl From<ServerInfo> for ButtplugSpecV2ServerMessage[src]

impl PartialEq<ServerInfo> for ServerInfo[src]

impl Serialize for ServerInfo[src]

impl StructuralPartialEq for ServerInfo[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> GetTypeId for T where
    T: Any
[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]