Skip to main content

SetManagedBotAccessSettingsSetters

Trait SetManagedBotAccessSettingsSetters 

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

Source

fn user_id(self, value: UserId) -> Self

Setter for user_id field.

Source

fn is_access_restricted(self, value: bool) -> Self

Setter for is_access_restricted field.

Source

fn added_user_ids<T>(self, value: T) -> Self
where 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".

Implementors§