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.
Object Safety§
This trait is not object safe.