pub struct McpFileSpec {
pub path: ResourcePath,
pub proxy: bool,
pub optional: bool,
}Fields§
§path: ResourcePath§proxy: bool§optional: boolImplementations§
Trait Implementations§
Source§impl Clone for McpFileSpec
impl Clone for McpFileSpec
Source§fn clone(&self) -> McpFileSpec
fn clone(&self) -> McpFileSpec
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 McpFileSpec
impl Debug for McpFileSpec
Source§impl From<McpFileSpec> for McpSourceSpec
impl From<McpFileSpec> for McpSourceSpec
Source§fn from(spec: McpFileSpec) -> Self
fn from(spec: McpFileSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for McpFileSpec
impl PartialEq for McpFileSpec
Source§fn eq(&self, other: &McpFileSpec) -> bool
fn eq(&self, other: &McpFileSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for McpFileSpec
Auto Trait Implementations§
impl Freeze for McpFileSpec
impl RefUnwindSafe for McpFileSpec
impl Send for McpFileSpec
impl Sync for McpFileSpec
impl Unpin for McpFileSpec
impl UnsafeUnpin for McpFileSpec
impl UnwindSafe for McpFileSpec
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