pub struct ProvidedFilePayload { /* private fields */ }Expand description
Shape of a file payload provided by the client after upload.
This is the object shape that MCP tools expecting file uploads expect to receive. The client uploads local files to the backend and replaces the local file path with this structure.
Trait Implementations§
Source§impl Clone for ProvidedFilePayload
impl Clone for ProvidedFilePayload
Source§impl Debug for ProvidedFilePayload
impl Debug for ProvidedFilePayload
Source§impl<'de> Deserialize<'de> for ProvidedFilePayload
impl<'de> Deserialize<'de> for ProvidedFilePayload
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 Forget for ProvidedFilePayload
impl Freeze for ProvidedFilePayload
impl Move for ProvidedFilePayload
impl RefUnwindSafe for ProvidedFilePayload
impl Send for ProvidedFilePayload
impl Sync for ProvidedFilePayload
impl Unpin for ProvidedFilePayload
impl UnsafeUnpin for ProvidedFilePayload
impl UnwindSafe for ProvidedFilePayload
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