pub struct CoordinatorRelation {
pub observation_id: ObservationId,
pub sample_id: SampleId,
pub target_id: Option<TargetId>,
pub group_id: Option<GroupId>,
pub origin_sample_id: Option<SampleId>,
pub source_id: Option<SourceId>,
pub is_augmented: bool,
pub excluded: bool,
pub metadata: BTreeMap<String, Value>,
pub tags: Vec<String>,
}Fields§
§observation_id: ObservationId§sample_id: SampleId§target_id: Option<TargetId>§group_id: Option<GroupId>§origin_sample_id: Option<SampleId>§source_id: Option<SourceId>§is_augmented: bool§excluded: bool§metadata: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for CoordinatorRelation
impl Clone for CoordinatorRelation
Source§fn clone(&self) -> CoordinatorRelation
fn clone(&self) -> CoordinatorRelation
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 CoordinatorRelation
impl Debug for CoordinatorRelation
Source§impl<'de> Deserialize<'de> for CoordinatorRelation
impl<'de> Deserialize<'de> for CoordinatorRelation
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CoordinatorRelation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CoordinatorRelation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CoordinatorRelation
Source§impl PartialEq for CoordinatorRelation
impl PartialEq for CoordinatorRelation
Source§fn eq(&self, other: &CoordinatorRelation) -> bool
fn eq(&self, other: &CoordinatorRelation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CoordinatorRelation
impl Serialize for CoordinatorRelation
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CoordinatorRelation
Auto Trait Implementations§
impl Freeze for CoordinatorRelation
impl RefUnwindSafe for CoordinatorRelation
impl Send for CoordinatorRelation
impl Sync for CoordinatorRelation
impl Unpin for CoordinatorRelation
impl UnsafeUnpin for CoordinatorRelation
impl UnwindSafe for CoordinatorRelation
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