Struct demes::UnresolvedPulse
source · [−]pub struct UnresolvedPulse {
pub sources: Option<Vec<String>>,
pub dest: Option<String>,
pub time: Option<Time>,
pub proportions: Option<Vec<Proportion>>,
}
Expand description
An unresolved Pulse event.
Fields
sources: Option<Vec<String>>
dest: Option<String>
time: Option<Time>
proportions: Option<Vec<Proportion>>
Trait Implementations
sourceimpl Clone for UnresolvedPulse
impl Clone for UnresolvedPulse
sourcefn clone(&self) -> UnresolvedPulse
fn clone(&self) -> UnresolvedPulse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UnresolvedPulse
impl Debug for UnresolvedPulse
sourceimpl Default for UnresolvedPulse
impl Default for UnresolvedPulse
sourcefn default() -> UnresolvedPulse
fn default() -> UnresolvedPulse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for UnresolvedPulse
impl<'de> Deserialize<'de> for UnresolvedPulse
sourcefn 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
sourceimpl PartialEq<UnresolvedPulse> for UnresolvedPulse
impl PartialEq<UnresolvedPulse> for UnresolvedPulse
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &UnresolvedPulse) -> bool
fn ne(&self, other: &UnresolvedPulse) -> bool
This method tests for !=
.
sourceimpl Serialize for UnresolvedPulse
impl Serialize for UnresolvedPulse
impl Eq for UnresolvedPulse
impl StructuralEq for UnresolvedPulse
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.