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