pub struct InputFileContent2 {
pub file_id: Option<String>,
pub filename: Option<String>,
pub file_url: Option<String>,
}
Fields§
§file_id: Option<String>
The ID of the file to be sent to the model.
filename: Option<String>
The name of the file to be sent to the model.
file_url: Option<String>
The URL of the file to be sent to the model.
Implementations§
Source§impl InputFileContent2
impl InputFileContent2
Sourcepub fn builder() -> InputFileContent2Builder<((), (), ())>
pub fn builder() -> InputFileContent2Builder<((), (), ())>
Create a builder for building InputFileContent2
.
On the builder, call .file_id(...)
(optional), .filename(...)
(optional), .file_url(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of InputFileContent2
.
Trait Implementations§
Source§impl Clone for InputFileContent2
impl Clone for InputFileContent2
Source§fn clone(&self) -> InputFileContent2
fn clone(&self) -> InputFileContent2
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 InputFileContent2
impl Debug for InputFileContent2
Source§impl Default for InputFileContent2
impl Default for InputFileContent2
Source§fn default() -> InputFileContent2
fn default() -> InputFileContent2
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputFileContent2
impl<'de> Deserialize<'de> for InputFileContent2
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 InputFileContent2
impl PartialEq for InputFileContent2
Source§impl Serialize for InputFileContent2
impl Serialize for InputFileContent2
impl StructuralPartialEq for InputFileContent2
Auto Trait Implementations§
impl Freeze for InputFileContent2
impl RefUnwindSafe for InputFileContent2
impl Send for InputFileContent2
impl Sync for InputFileContent2
impl Unpin for InputFileContent2
impl UnwindSafe for InputFileContent2
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