Struct stripper_xml::normalization::Contribution
source · pub struct Contribution {
pub name: String,
pub xsection: XSScale,
pub rw: Reweight,
}
Fields§
§name: String
§xsection: XSScale
§rw: Reweight
Trait Implementations§
source§impl Clone for Contribution
impl Clone for Contribution
source§fn clone(&self) -> Contribution
fn clone(&self) -> Contribution
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 Contribution
impl Debug for Contribution
source§impl Default for Contribution
impl Default for Contribution
source§fn default() -> Contribution
fn default() -> Contribution
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Contribution
impl<'de> Deserialize<'de> for Contribution
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<Contribution> for Contribution
impl PartialEq<Contribution> for Contribution
source§fn eq(&self, other: &Contribution) -> bool
fn eq(&self, other: &Contribution) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<Contribution> for Contribution
impl PartialOrd<Contribution> for Contribution
source§fn partial_cmp(&self, other: &Contribution) -> Option<Ordering>
fn partial_cmp(&self, other: &Contribution) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for Contribution
impl Serialize for Contribution
impl StructuralPartialEq for Contribution
Auto Trait Implementations§
impl RefUnwindSafe for Contribution
impl Send for Contribution
impl Sync for Contribution
impl Unpin for Contribution
impl UnwindSafe for Contribution
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