pub struct AppsDefaultConfig {
pub approvals_reviewer: Option<ApprovalsReviewer>,
pub default_tools_approval_mode: Option<AppToolApproval>,
pub destructive_enabled: bool,
pub enabled: bool,
pub open_world_enabled: bool,
}Expand description
AppsDefaultConfig
JSON schema
{
"type": "object",
"properties": {
"approvals_reviewer": {
"anyOf": [
{
"$ref": "#/definitions/ApprovalsReviewer"
},
{
"type": "null"
}
]
},
"default_tools_approval_mode": {
"anyOf": [
{
"$ref": "#/definitions/AppToolApproval"
},
{
"type": "null"
}
]
},
"destructive_enabled": {
"default": true,
"type": "boolean"
},
"enabled": {
"default": true,
"type": "boolean"
},
"open_world_enabled": {
"default": true,
"type": "boolean"
}
}
}Fields§
§approvals_reviewer: Option<ApprovalsReviewer>§default_tools_approval_mode: Option<AppToolApproval>§destructive_enabled: bool§enabled: bool§open_world_enabled: boolTrait Implementations§
Source§impl Clone for AppsDefaultConfig
impl Clone for AppsDefaultConfig
Source§fn clone(&self) -> AppsDefaultConfig
fn clone(&self) -> AppsDefaultConfig
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 AppsDefaultConfig
impl Debug for AppsDefaultConfig
Source§impl Default for AppsDefaultConfig
impl Default for AppsDefaultConfig
Source§impl<'de> Deserialize<'de> for AppsDefaultConfig
impl<'de> Deserialize<'de> for AppsDefaultConfig
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 AppsDefaultConfig
impl RefUnwindSafe for AppsDefaultConfig
impl Send for AppsDefaultConfig
impl Sync for AppsDefaultConfig
impl Unpin for AppsDefaultConfig
impl UnsafeUnpin for AppsDefaultConfig
impl UnwindSafe for AppsDefaultConfig
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