pub struct IndexSyncFile {
pub path: String,
pub hash: String,
pub language: String,
pub line_count: usize,
pub token_count: usize,
pub exports: Vec<String>,
pub summary: String,
}Expand description
A single file entry in the index sync payload.
Fields§
§path: String§hash: String§language: String§line_count: usize§token_count: usize§exports: Vec<String>§summary: StringTrait Implementations§
Source§impl Debug for IndexSyncFile
impl Debug for IndexSyncFile
Source§impl<'de> Deserialize<'de> for IndexSyncFile
impl<'de> Deserialize<'de> for IndexSyncFile
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 IndexSyncFile
impl RefUnwindSafe for IndexSyncFile
impl Send for IndexSyncFile
impl Sync for IndexSyncFile
impl Unpin for IndexSyncFile
impl UnsafeUnpin for IndexSyncFile
impl UnwindSafe for IndexSyncFile
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