Struct airmash_protocol::server::ServerMessage [] [src]

pub struct ServerMessage {
    pub ty: u8,
    pub duration: u32,
    pub text: String,
}

Banner message sent by the server

Fields

Duration that banner message should remain on the screen.

HTML text of banner message

Trait Implementations

impl Clone for ServerMessage
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ServerMessage
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for ServerMessage

impl Sync for ServerMessage