[][src]Struct steamworks::FriendGame

pub struct FriendGame {
    pub game: GameId,
    pub game_address: Ipv4Addr,
    pub game_port: u16,
    pub query_port: u16,
    pub lobby: LobbyId,
}

Information about a friend's current state in a game

Fields

game: GameId

The id of the game that the friend is playing

game_address: Ipv4Addr

The address of the server the player is in

game_port: u16

The game port of the server the player is in

query_port: u16

The query port of the server the player is in

lobby: LobbyId

Optional id of the lobby the player is in

Trait Implementations

impl Clone for FriendGame[src]

impl Debug for FriendGame[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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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.