pub struct AutoModeRule {
pub list: AutoModeRuleList,
pub name: String,
}Expand description
ToolPermissionDecision::auto_mode_rule — the auto-mode settings entry
the classifier named (CLI 2.1.319+).
Fields§
§list: AutoModeRuleListWhich list the entry is on.
name: StringThe entry’s name.
Trait Implementations§
Source§impl Clone for AutoModeRule
impl Clone for AutoModeRule
Source§impl Debug for AutoModeRule
impl Debug for AutoModeRule
Source§impl<'de> Deserialize<'de> for AutoModeRule
impl<'de> Deserialize<'de> for AutoModeRule
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
impl Eq for AutoModeRule
Source§impl PartialEq for AutoModeRule
impl PartialEq for AutoModeRule
Source§impl Serialize for AutoModeRule
impl Serialize for AutoModeRule
impl StructuralPartialEq for AutoModeRule
Auto Trait Implementations§
impl Forget for AutoModeRule
impl Freeze for AutoModeRule
impl RefUnwindSafe for AutoModeRule
impl Send for AutoModeRule
impl Sync for AutoModeRule
impl Unpin for AutoModeRule
impl UnsafeUnpin for AutoModeRule
impl UnwindSafe for AutoModeRule
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