pub struct AppToolConfig {
pub approval_mode: Option<AppToolApproval>,
pub enabled: Option<bool>,
}Expand description
AppToolConfig
JSON schema
{
"type": "object",
"properties": {
"approval_mode": {
"anyOf": [
{
"$ref": "#/definitions/AppToolApproval"
},
{
"type": "null"
}
]
},
"enabled": {
"type": [
"boolean",
"null"
]
}
}
}Fields§
§approval_mode: Option<AppToolApproval>§enabled: Option<bool>Trait Implementations§
Source§impl Clone for AppToolConfig
impl Clone for AppToolConfig
Source§fn clone(&self) -> AppToolConfig
fn clone(&self) -> AppToolConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AppToolConfig
impl Debug for AppToolConfig
Source§impl Default for AppToolConfig
impl Default for AppToolConfig
Source§impl<'de> Deserialize<'de> for AppToolConfig
impl<'de> Deserialize<'de> for AppToolConfig
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
Auto Trait Implementations§
impl Freeze for AppToolConfig
impl RefUnwindSafe for AppToolConfig
impl Send for AppToolConfig
impl Sync for AppToolConfig
impl Unpin for AppToolConfig
impl UnsafeUnpin for AppToolConfig
impl UnwindSafe for AppToolConfig
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