pub struct CausalPattern {
pub cause_ids: Vec<Id>,
pub effect_ids: Vec<Id>,
pub path_ids: Vec<Id>,
}Expand description
Causal pattern shared across participants.
Fields§
§cause_ids: Vec<Id>Cause identifiers.
effect_ids: Vec<Id>Effect identifiers.
path_ids: Vec<Id>Path identifiers.
Trait Implementations§
Source§impl Clone for CausalPattern
impl Clone for CausalPattern
Source§fn clone(&self) -> CausalPattern
fn clone(&self) -> CausalPattern
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 CausalPattern
impl Debug for CausalPattern
Source§impl Default for CausalPattern
impl Default for CausalPattern
Source§fn default() -> CausalPattern
fn default() -> CausalPattern
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CausalPattern
impl<'de> Deserialize<'de> for CausalPattern
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 Hash for CausalPattern
impl Hash for CausalPattern
Source§impl Ord for CausalPattern
impl Ord for CausalPattern
Source§fn cmp(&self, other: &CausalPattern) -> Ordering
fn cmp(&self, other: &CausalPattern) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CausalPattern
impl PartialEq for CausalPattern
Source§fn eq(&self, other: &CausalPattern) -> bool
fn eq(&self, other: &CausalPattern) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CausalPattern
impl PartialOrd for CausalPattern
Source§impl Serialize for CausalPattern
impl Serialize for CausalPattern
impl Eq for CausalPattern
impl StructuralPartialEq for CausalPattern
Auto Trait Implementations§
impl Freeze for CausalPattern
impl RefUnwindSafe for CausalPattern
impl Send for CausalPattern
impl Sync for CausalPattern
impl Unpin for CausalPattern
impl UnsafeUnpin for CausalPattern
impl UnwindSafe for CausalPattern
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