pub trait SetMyDefaultAdministratorRightsSetters: HasPayload<Payload = SetMyDefaultAdministratorRights> + Sized {
    // Provided methods
    fn rights(self, value: ChatAdministratorRights) -> Self { ... }
    fn for_channels(self, value: bool) -> Self { ... }
}
Expand description

Setters for fields of SetMyDefaultAdministratorRights

Provided Methods§

source

fn rights(self, value: ChatAdministratorRights) -> Self

Setter for rights field.

source

fn for_channels(self, value: bool) -> Self

Setter for for_channels field.

Object Safety§

This trait is not object safe.

Implementors§