pub trait SetManagedBotAccessSettingsSetters: HasPayload<Payload = SetManagedBotAccessSettings> + Sized {
// Provided methods
fn user_id(self, value: UserId) -> Self { ... }
fn is_access_restricted(self, value: bool) -> Self { ... }
fn added_user_ids<T>(self, value: T) -> Self
where T: IntoIterator<Item = UserId> { ... }
}Expand description
Setters for fields of SetManagedBotAccessSettings
Provided Methods§
Sourcefn is_access_restricted(self, value: bool) -> Self
fn is_access_restricted(self, value: bool) -> Self
Setter for is_access_restricted field.
Sourcefn added_user_ids<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = UserId>,
fn added_user_ids<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = UserId>,
Setter for added_user_ids field.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".