pub struct ParityReport {
pub eggress_commit: Option<String>,
pub pproxy_version: String,
pub os_platform: String,
pub rust_version: String,
pub python_version: String,
pub feature_gates: Vec<String>,
pub features: Vec<FeatureReport>,
}Fields§
§eggress_commit: Option<String>§pproxy_version: String§os_platform: String§rust_version: String§python_version: String§feature_gates: Vec<String>§features: Vec<FeatureReport>Implementations§
Source§impl ParityReport
impl ParityReport
pub fn new() -> Self
pub fn add_feature(&mut self, feature: FeatureReport)
pub fn to_json(&self) -> String
pub fn to_markdown(&self) -> String
pub fn write_json(&self, path: &Path) -> Result<()>
pub fn write_markdown(&self, path: &Path) -> Result<()>
Trait Implementations§
Source§impl Clone for ParityReport
impl Clone for ParityReport
Source§fn clone(&self) -> ParityReport
fn clone(&self) -> ParityReport
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 ParityReport
impl Debug for ParityReport
Source§impl Default for ParityReport
impl Default for ParityReport
Source§impl<'de> Deserialize<'de> for ParityReport
impl<'de> Deserialize<'de> for ParityReport
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 ParityReport
impl PartialEq for ParityReport
Source§impl Serialize for ParityReport
impl Serialize for ParityReport
impl StructuralPartialEq for ParityReport
Auto Trait Implementations§
impl Freeze for ParityReport
impl RefUnwindSafe for ParityReport
impl Send for ParityReport
impl Sync for ParityReport
impl Unpin for ParityReport
impl UnsafeUnpin for ParityReport
impl UnwindSafe for ParityReport
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