pub struct SourceFileSummary {
pub path: String,
pub kind: String,
pub size: Option<i32>,
pub sha: Option<String>,
pub language: Option<String>,
pub content: Option<String>,
}Fields§
§path: String§kind: String§size: Option<i32>§sha: Option<String>§language: Option<String>§content: Option<String>Implementations§
Source§impl SourceFileSummary
impl SourceFileSummary
pub fn new(path: String, kind: String) -> SourceFileSummary
Trait Implementations§
Source§impl Clone for SourceFileSummary
impl Clone for SourceFileSummary
Source§fn clone(&self) -> SourceFileSummary
fn clone(&self) -> SourceFileSummary
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 SourceFileSummary
impl Debug for SourceFileSummary
Source§impl Default for SourceFileSummary
impl Default for SourceFileSummary
Source§fn default() -> SourceFileSummary
fn default() -> SourceFileSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SourceFileSummary
impl<'de> Deserialize<'de> for SourceFileSummary
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
Source§impl PartialEq for SourceFileSummary
impl PartialEq for SourceFileSummary
Source§fn eq(&self, other: &SourceFileSummary) -> bool
fn eq(&self, other: &SourceFileSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SourceFileSummary
impl Serialize for SourceFileSummary
impl StructuralPartialEq for SourceFileSummary
Auto Trait Implementations§
impl Freeze for SourceFileSummary
impl RefUnwindSafe for SourceFileSummary
impl Send for SourceFileSummary
impl Sync for SourceFileSummary
impl Unpin for SourceFileSummary
impl UnsafeUnpin for SourceFileSummary
impl UnwindSafe for SourceFileSummary
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