pub struct StaticFile {
pub path: String,
pub functions: Vec<StaticFunction>,
}Expand description
Static analysis results for a single source file.
Fields§
§path: StringPath to the source file, relative to Request::project_root.
functions: Vec<StaticFunction>Functions the CLI discovered in this file.
Trait Implementations§
Source§impl Clone for StaticFile
impl Clone for StaticFile
Source§fn clone(&self) -> StaticFile
fn clone(&self) -> StaticFile
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 StaticFile
impl Debug for StaticFile
Source§impl<'de> Deserialize<'de> for StaticFile
impl<'de> Deserialize<'de> for StaticFile
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 StaticFile
impl RefUnwindSafe for StaticFile
impl Send for StaticFile
impl Sync for StaticFile
impl Unpin for StaticFile
impl UnsafeUnpin for StaticFile
impl UnwindSafe for StaticFile
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