pub struct FileCitation {
pub file_id: String,
pub quote: String,
}Expand description
A citation within the message that points to a specific quote from a specific File.
Fields§
§file_id: StringThe ID of the specific File the citation is from.
quote: StringThe specific quote in the file.
Trait Implementations§
Source§impl Clone for FileCitation
impl Clone for FileCitation
Source§fn clone(&self) -> FileCitation
fn clone(&self) -> FileCitation
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 FileCitation
impl Debug for FileCitation
Source§impl<'de> Deserialize<'de> for FileCitation
impl<'de> Deserialize<'de> for FileCitation
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 FileCitation
impl RefUnwindSafe for FileCitation
impl Send for FileCitation
impl Sync for FileCitation
impl Unpin for FileCitation
impl UnwindSafe for FileCitation
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