Trait SetMyDefaultAdministratorRightsSetters

Source
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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§