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