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