pub struct Rename<E, TChannel> where
    TChannel: Channel<E>, 
{ pub channel: Rc<RefCell<TChannel>>, pub name: String, /* private fields */ }
Expand description

RPC for the “rename” plugin.

Fields

channel: Rc<RefCell<TChannel>>

Reference to the client to exchange messages.

name: String

Name of the plugin. All the RPC are attached to this name.

Implementations

Method RenameBuilding from the plugin rename

Method RenameSquad from the plugin rename

Method RenameUnit from the plugin rename

Trait Implementations

Converts to this type from the input type.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.