pub struct SampleArtifact {
pub node_id: NodeId,
pub value: Value,
}Expand description
Typed output produced by a sampler for one node.
Fields§
§node_id: NodeIdWhich node this artifact belongs to.
value: ValueStructured payload (schema depends on the sampler).
Trait Implementations§
Source§impl Clone for SampleArtifact
impl Clone for SampleArtifact
Source§impl Debug for SampleArtifact
impl Debug for SampleArtifact
Source§impl<'de> Deserialize<'de> for SampleArtifact
impl<'de> Deserialize<'de> for SampleArtifact
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
Auto Trait Implementations§
impl Freeze for SampleArtifact
impl RefUnwindSafe for SampleArtifact
impl Send for SampleArtifact
impl Sync for SampleArtifact
impl Unpin for SampleArtifact
impl UnsafeUnpin for SampleArtifact
impl UnwindSafe for SampleArtifact
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