pub struct ObservationFromStep {
pub from_step: StepId,
pub which: ObservationWhich,
}Expand description
The object branch of ObservationSource (inline in the baseline).
Fields§
§from_step: StepIdThe action step whose observation is reused.
which: ObservationWhichWhich observation (after | before).
Trait Implementations§
Source§impl Clone for ObservationFromStep
impl Clone for ObservationFromStep
Source§fn clone(&self) -> ObservationFromStep
fn clone(&self) -> ObservationFromStep
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 ObservationFromStep
impl Debug for ObservationFromStep
Source§impl<'de> Deserialize<'de> for ObservationFromStep
impl<'de> Deserialize<'de> for ObservationFromStep
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 JsonSchema for ObservationFromStep
impl JsonSchema for ObservationFromStep
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ObservationFromStep
impl PartialEq for ObservationFromStep
Source§impl Serialize for ObservationFromStep
impl Serialize for ObservationFromStep
impl StructuralPartialEq for ObservationFromStep
Auto Trait Implementations§
impl Freeze for ObservationFromStep
impl RefUnwindSafe for ObservationFromStep
impl Send for ObservationFromStep
impl Sync for ObservationFromStep
impl Unpin for ObservationFromStep
impl UnsafeUnpin for ObservationFromStep
impl UnwindSafe for ObservationFromStep
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