pub struct CodebasePattern {
pub category: String,
pub description: String,
pub example: Option<String>,
pub reusable: bool,
}Expand description
Codebase pattern discovered during execution
Fields§
§category: StringPattern name/category
description: StringPattern description
example: Option<String>Example file or location
reusable: boolWhether this pattern should be reused
Trait Implementations§
Source§impl Clone for CodebasePattern
impl Clone for CodebasePattern
Source§fn clone(&self) -> CodebasePattern
fn clone(&self) -> CodebasePattern
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 CodebasePattern
impl Debug for CodebasePattern
Source§impl<'de> Deserialize<'de> for CodebasePattern
impl<'de> Deserialize<'de> for CodebasePattern
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 CodebasePattern
impl RefUnwindSafe for CodebasePattern
impl Send for CodebasePattern
impl Sync for CodebasePattern
impl Unpin for CodebasePattern
impl UnsafeUnpin for CodebasePattern
impl UnwindSafe for CodebasePattern
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