pub struct DetectResult {
pub detected: bool,
}Expand description
Result from the detect method.
Fields§
§detected: boolWhether this adapter applies to the given project root.
Trait Implementations§
Source§impl Debug for DetectResult
impl Debug for DetectResult
Source§impl<'de> Deserialize<'de> for DetectResult
impl<'de> Deserialize<'de> for DetectResult
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 DetectResult
impl RefUnwindSafe for DetectResult
impl Send for DetectResult
impl Sync for DetectResult
impl Unpin for DetectResult
impl UnsafeUnpin for DetectResult
impl UnwindSafe for DetectResult
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