pub struct ToolFileChunk {
pub type: Option<Type>,
pub tool: Box<Tool1>,
pub file_id: String,
pub file_name: Option<Option<String>>,
pub file_type: Option<Option<String>>,
}Fields§
§type: Option<Type>§tool: Box<Tool1>§file_id: String§file_name: Option<Option<String>>§file_type: Option<Option<String>>Implementations§
Source§impl ToolFileChunk
impl ToolFileChunk
pub fn new(tool: Tool1, file_id: String) -> ToolFileChunk
Trait Implementations§
Source§impl Clone for ToolFileChunk
impl Clone for ToolFileChunk
Source§fn clone(&self) -> ToolFileChunk
fn clone(&self) -> ToolFileChunk
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 ToolFileChunk
impl Debug for ToolFileChunk
Source§impl Default for ToolFileChunk
impl Default for ToolFileChunk
Source§fn default() -> ToolFileChunk
fn default() -> ToolFileChunk
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolFileChunk
impl<'de> Deserialize<'de> for ToolFileChunk
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
Source§impl PartialEq for ToolFileChunk
impl PartialEq for ToolFileChunk
Source§impl Serialize for ToolFileChunk
impl Serialize for ToolFileChunk
impl StructuralPartialEq for ToolFileChunk
Auto Trait Implementations§
impl Freeze for ToolFileChunk
impl RefUnwindSafe for ToolFileChunk
impl Send for ToolFileChunk
impl Sync for ToolFileChunk
impl Unpin for ToolFileChunk
impl UnsafeUnpin for ToolFileChunk
impl UnwindSafe for ToolFileChunk
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