pub struct McpImportOptions {
pub default_risk: Option<String>,
pub default_approval: Option<String>,
pub default_proof: Option<String>,
pub danger_tag_map: HashMap<String, Vec<String>>,
pub name_prefix: Option<String>,
}Fields§
§default_risk: Option<String>§default_approval: Option<String>§default_proof: Option<String>§danger_tag_map: HashMap<String, Vec<String>>§name_prefix: Option<String>Trait Implementations§
Source§impl Clone for McpImportOptions
impl Clone for McpImportOptions
Source§fn clone(&self) -> McpImportOptions
fn clone(&self) -> McpImportOptions
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 McpImportOptions
impl Debug for McpImportOptions
Source§impl Default for McpImportOptions
impl Default for McpImportOptions
Source§fn default() -> McpImportOptions
fn default() -> McpImportOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for McpImportOptions
impl RefUnwindSafe for McpImportOptions
impl Send for McpImportOptions
impl Sync for McpImportOptions
impl Unpin for McpImportOptions
impl UnsafeUnpin for McpImportOptions
impl UnwindSafe for McpImportOptions
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more