pub struct ExtraData<'a> {
pub port: Option<u16>,
pub steam_id: Option<u64>,
pub source_tv: Option<SourceTv<'a>>,
pub keywords: Option<&'a str>,
pub game_id: Option<u64>,
}Expand description
Optional fields included in the extended data section of an A2S_INFO response.
Fields§
§port: Option<u16>The server’s game port, when advertised.
steam_id: Option<u64>The server’s Steam ID, when advertised.
source_tv: Option<SourceTv<'a>>SourceTV port and name, when the server advertises SourceTV.
keywords: Option<&'a str>Server keywords, when present.
game_id: Option<u64>The game’s Steam application ID, when advertised.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for ExtraData<'a>
impl<'a> Freeze for ExtraData<'a>
impl<'a> Move for ExtraData<'a>
impl<'a> RefUnwindSafe for ExtraData<'a>
impl<'a> Send for ExtraData<'a>
impl<'a> Sync for ExtraData<'a>
impl<'a> Unpin for ExtraData<'a>
impl<'a> UnsafeUnpin for ExtraData<'a>
impl<'a> UnwindSafe for ExtraData<'a>
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