pub struct PaperTexSource {
pub arxiv_id: String,
pub main_file: Option<String>,
pub tex_source: String,
pub char_count: usize,
pub truncated: bool,
pub retrieved_from: String,
}Expand description
The raw LaTeX source of an arXiv paper.
Fields§
§arxiv_id: StringThe arXiv id this source belongs to.
main_file: Option<String>Filename of the main .tex file within the source tarball.
None when the submission was a single gzip’d file (no tar).
tex_source: StringRaw LaTeX source of the main .tex file.
char_count: usizechars in tex_source (after any truncation).
truncated: booltrue when max_chars truncated the source.
retrieved_from: StringFinal URL the source was retrieved from (after redirects).
Trait Implementations§
Source§impl Clone for PaperTexSource
impl Clone for PaperTexSource
Source§fn clone(&self) -> PaperTexSource
fn clone(&self) -> PaperTexSource
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 PaperTexSource
impl Debug for PaperTexSource
Source§impl<'de> Deserialize<'de> for PaperTexSource
impl<'de> Deserialize<'de> for PaperTexSource
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 Eq for PaperTexSource
Source§impl PartialEq for PaperTexSource
impl PartialEq for PaperTexSource
Source§fn eq(&self, other: &PaperTexSource) -> bool
fn eq(&self, other: &PaperTexSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PaperTexSource
impl Serialize for PaperTexSource
impl StructuralPartialEq for PaperTexSource
Auto Trait Implementations§
impl Freeze for PaperTexSource
impl RefUnwindSafe for PaperTexSource
impl Send for PaperTexSource
impl Sync for PaperTexSource
impl Unpin for PaperTexSource
impl UnsafeUnpin for PaperTexSource
impl UnwindSafe for PaperTexSource
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