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§
Sourcefn rights(self, value: ChatAdministratorRights) -> Self
fn rights(self, value: ChatAdministratorRights) -> Self
Setter for rights
field.
Sourcefn for_channels(self, value: bool) -> Self
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.