Struct proto_pdk_api::DetectVersionOutput
source · pub struct DetectVersionOutput {
pub files: Vec<String>,
pub ignore: Vec<String>,
}
Expand description
Output returned by the detect_version_files
function.
Fields§
§files: Vec<String>
List of files that should be checked for version information.
ignore: Vec<String>
List of path patterns to ignore when traversing directories.
Trait Implementations§
source§impl Clone for DetectVersionOutput
impl Clone for DetectVersionOutput
source§fn clone(&self) -> DetectVersionOutput
fn clone(&self) -> DetectVersionOutput
Returns a copy 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 DetectVersionOutput
impl Debug for DetectVersionOutput
source§impl Default for DetectVersionOutput
impl Default for DetectVersionOutput
source§fn default() -> DetectVersionOutput
fn default() -> DetectVersionOutput
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DetectVersionOutputwhere
DetectVersionOutput: Default,
impl<'de> Deserialize<'de> for DetectVersionOutputwhere
DetectVersionOutput: Default,
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 DetectVersionOutput
impl PartialEq for DetectVersionOutput
source§fn eq(&self, other: &DetectVersionOutput) -> bool
fn eq(&self, other: &DetectVersionOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DetectVersionOutput
impl Serialize for DetectVersionOutput
impl StructuralPartialEq for DetectVersionOutput
Auto Trait Implementations§
impl Freeze for DetectVersionOutput
impl RefUnwindSafe for DetectVersionOutput
impl Send for DetectVersionOutput
impl Sync for DetectVersionOutput
impl Unpin for DetectVersionOutput
impl UnwindSafe for DetectVersionOutput
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