pub struct ContentPartDocument {
pub content_type: String,
pub source: DocumentSource,
}Expand description
Document content part (for PDFs etc.)
Fields§
§content_type: String§source: DocumentSourceImplementations§
Trait Implementations§
Source§impl Clone for ContentPartDocument
impl Clone for ContentPartDocument
Source§fn clone(&self) -> ContentPartDocument
fn clone(&self) -> ContentPartDocument
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 ContentPartDocument
impl Debug for ContentPartDocument
Source§impl<'de> Deserialize<'de> for ContentPartDocument
impl<'de> Deserialize<'de> for ContentPartDocument
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 ContentPartDocument
impl RefUnwindSafe for ContentPartDocument
impl Send for ContentPartDocument
impl Sync for ContentPartDocument
impl Unpin for ContentPartDocument
impl UnsafeUnpin for ContentPartDocument
impl UnwindSafe for ContentPartDocument
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