pub struct A2aFileContent {
pub name: Option<String>,
pub mime_type: Option<String>,
pub bytes: Option<String>,
pub uri: Option<String>,
}Expand description
File content in A2A — either inline bytes or URI reference.
Fields§
§name: Option<String>File name.
mime_type: Option<String>MIME type of the file content.
bytes: Option<String>Inline base64-encoded bytes.
uri: Option<String>URI reference.
Trait Implementations§
Source§impl Clone for A2aFileContent
impl Clone for A2aFileContent
Source§fn clone(&self) -> A2aFileContent
fn clone(&self) -> A2aFileContent
Returns a duplicate of the value. Read more
1.0.0 · 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 A2aFileContent
impl Debug for A2aFileContent
Source§impl<'de> Deserialize<'de> for A2aFileContent
impl<'de> Deserialize<'de> for A2aFileContent
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 A2aFileContent
impl RefUnwindSafe for A2aFileContent
impl Send for A2aFileContent
impl Sync for A2aFileContent
impl Unpin for A2aFileContent
impl UnwindSafe for A2aFileContent
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