Struct ircservserv::BotState[][src]

pub struct BotState {
    pub chanserv: Option<Message>,
    pub channels: HashMap<String, ManagedChannel>,
    pub botconfig: BotConfig,
}

Fields

chanserv: Option<Message>

What we’re currently PMing ChanServ for

channels: HashMap<String, ManagedChannel>

State of channels we’re currently looking up

botconfig: BotConfig

Implementations

Whether the given username is a founder. NOTE: you need to check that flags_done is true first

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.