Struct bancho_packets::server::ChannelInfo
source · pub struct ChannelInfo<'a> {
pub name: CowStr<'a>,
pub title: CowStr<'a>,
pub player_count: i16,
}Expand description
#65: BANCHO_CHANNEL_INFO
Fields§
§name: CowStr<'a>§title: CowStr<'a>§player_count: i16Implementations§
Trait Implementations§
source§impl<'a> BanchoPacket for ChannelInfo<'a>
impl<'a> BanchoPacket for ChannelInfo<'a>
source§impl<'a> BanchoPacketLength for ChannelInfo<'a>
impl<'a> BanchoPacketLength for ChannelInfo<'a>
source§impl<'a> Clone for ChannelInfo<'a>
impl<'a> Clone for ChannelInfo<'a>
source§fn clone(&self) -> ChannelInfo<'a>
fn clone(&self) -> ChannelInfo<'a>
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<'a> Debug for ChannelInfo<'a>
impl<'a> Debug for ChannelInfo<'a>
source§impl<'a> Default for ChannelInfo<'a>
impl<'a> Default for ChannelInfo<'a>
source§fn default() -> ChannelInfo<'a>
fn default() -> ChannelInfo<'a>
Returns the “default value” for a type. Read more