pub struct LocalMcpResource {
pub uri: String,
pub name: String,
pub title: Option<String>,
pub description: Option<String>,
pub mime_type: Option<String>,
pub size_bytes: Option<i64>,
}Fields§
§uri: String§name: String§title: Option<String>§description: Option<String>§mime_type: Option<String>§size_bytes: Option<i64>Trait Implementations§
Source§impl Clone for LocalMcpResource
impl Clone for LocalMcpResource
Source§fn clone(&self) -> LocalMcpResource
fn clone(&self) -> LocalMcpResource
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 LocalMcpResource
impl Debug for LocalMcpResource
Source§impl<'de> Deserialize<'de> for LocalMcpResource
impl<'de> Deserialize<'de> for LocalMcpResource
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 LocalMcpResource
Source§impl PartialEq for LocalMcpResource
impl PartialEq for LocalMcpResource
Source§impl Serialize for LocalMcpResource
impl Serialize for LocalMcpResource
impl StructuralPartialEq for LocalMcpResource
Auto Trait Implementations§
impl Freeze for LocalMcpResource
impl RefUnwindSafe for LocalMcpResource
impl Send for LocalMcpResource
impl Sync for LocalMcpResource
impl Unpin for LocalMcpResource
impl UnsafeUnpin for LocalMcpResource
impl UnwindSafe for LocalMcpResource
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