pub struct BotManagementBotAction {
pub _type: Type,
}Expand description
BotManagementBotAction : The action applied to requests from a single bot. Set the action to ‘inherit’ to apply the category’s action or to a specific value to override the category’s action.
Fields§
§_type: TypeThe type of action to apply.
Implementations§
Source§impl BotManagementBotAction
impl BotManagementBotAction
Sourcepub fn new(_type: Type) -> BotManagementBotAction
pub fn new(_type: Type) -> BotManagementBotAction
The action applied to requests from a single bot. Set the action to ‘inherit’ to apply the category’s action or to a specific value to override the category’s action.
Trait Implementations§
Source§impl Clone for BotManagementBotAction
impl Clone for BotManagementBotAction
Source§impl Debug for BotManagementBotAction
impl Debug for BotManagementBotAction
Source§impl Default for BotManagementBotAction
impl Default for BotManagementBotAction
Source§impl<'de> Deserialize<'de> for BotManagementBotAction
impl<'de> Deserialize<'de> for BotManagementBotAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BotManagementBotAction
impl PartialEq for BotManagementBotAction
Source§impl Serialize for BotManagementBotAction
impl Serialize for BotManagementBotAction
impl StructuralPartialEq for BotManagementBotAction
Auto Trait Implementations§
impl Freeze for BotManagementBotAction
impl RefUnwindSafe for BotManagementBotAction
impl Send for BotManagementBotAction
impl Sync for BotManagementBotAction
impl Unpin for BotManagementBotAction
impl UnsafeUnpin for BotManagementBotAction
impl UnwindSafe for BotManagementBotAction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more