Struct demes::UnresolvedPulse
source · pub struct UnresolvedPulse {
pub sources: Option<Vec<String>>,
pub dest: Option<String>,
pub time: Option<InputTime>,
pub proportions: Option<Vec<InputProportion>>,
}
Expand description
An unresolved Pulse event.
Fields§
§sources: Option<Vec<String>>
§dest: Option<String>
§time: Option<InputTime>
§proportions: Option<Vec<InputProportion>>
Trait Implementations§
source§impl Clone for UnresolvedPulse
impl Clone for UnresolvedPulse
source§fn clone(&self) -> UnresolvedPulse
fn clone(&self) -> UnresolvedPulse
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 UnresolvedPulse
impl Debug for UnresolvedPulse
source§impl Default for UnresolvedPulse
impl Default for UnresolvedPulse
source§fn default() -> UnresolvedPulse
fn default() -> UnresolvedPulse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UnresolvedPulse
impl<'de> Deserialize<'de> for UnresolvedPulse
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<UnresolvedPulse> for UnresolvedPulse
impl PartialEq<UnresolvedPulse> for UnresolvedPulse
source§fn eq(&self, other: &UnresolvedPulse) -> bool
fn eq(&self, other: &UnresolvedPulse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<UnresolvedPulse> for Pulse
impl TryFrom<UnresolvedPulse> for Pulse
§type Error = DemesError
type Error = DemesError
The type returned in the event of a conversion error.
impl StructuralPartialEq for UnresolvedPulse
Auto Trait Implementations§
impl RefUnwindSafe for UnresolvedPulse
impl Send for UnresolvedPulse
impl Sync for UnresolvedPulse
impl Unpin for UnresolvedPulse
impl UnwindSafe for UnresolvedPulse
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