pub trait SetManagedBotAccessSettingsSetters: Sized + HasPayload<Payload = SetManagedBotAccessSettings> {
// 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 = <Vec<UserId> as IntoIterator>::Item> { ... }
}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) -> Self
fn added_user_ids<T>(self, value: T) -> Self
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".