pub struct PreviewCitationResult {
pub preview: String,
pub warnings: Vec<Warning>,
}Expand description
Result returned by citation preview.
Fields§
§preview: StringRendered preview text.
warnings: Vec<Warning>Non-fatal diagnostics encountered during preview rendering.
Trait Implementations§
Source§impl Clone for PreviewCitationResult
impl Clone for PreviewCitationResult
Source§fn clone(&self) -> PreviewCitationResult
fn clone(&self) -> PreviewCitationResult
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 PreviewCitationResult
impl Debug for PreviewCitationResult
Source§impl<'de> Deserialize<'de> for PreviewCitationResult
impl<'de> Deserialize<'de> for PreviewCitationResult
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 PreviewCitationResult
impl RefUnwindSafe for PreviewCitationResult
impl Send for PreviewCitationResult
impl Sync for PreviewCitationResult
impl Unpin for PreviewCitationResult
impl UnsafeUnpin for PreviewCitationResult
impl UnwindSafe for PreviewCitationResult
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