pub struct SensorArtifact {
pub path: String,
pub artifact_type: String,
}Expand description
An artifact produced by the sensor.
Fields§
§path: String§artifact_type: StringTrait Implementations§
Source§impl Clone for SensorArtifact
impl Clone for SensorArtifact
Source§fn clone(&self) -> SensorArtifact
fn clone(&self) -> SensorArtifact
Returns a duplicate of the value. Read more
1.0.0 · 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 SensorArtifact
impl Debug for SensorArtifact
Source§impl<'de> Deserialize<'de> for SensorArtifact
impl<'de> Deserialize<'de> for SensorArtifact
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 SensorArtifact
impl JsonSchema for SensorArtifact
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 SensorArtifact
impl PartialEq for SensorArtifact
Source§impl Serialize for SensorArtifact
impl Serialize for SensorArtifact
impl Eq for SensorArtifact
impl StructuralPartialEq for SensorArtifact
Auto Trait Implementations§
impl Freeze for SensorArtifact
impl RefUnwindSafe for SensorArtifact
impl Send for SensorArtifact
impl Sync for SensorArtifact
impl Unpin for SensorArtifact
impl UnsafeUnpin for SensorArtifact
impl UnwindSafe for SensorArtifact
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