pub struct SpecTarget {
pub source_url: String,
pub observed_at: Option<String>,
}Expand description
What was observed and when.
Fields§
§source_url: StringThe source website URL the spec was synthesized from.
observed_at: Option<String>ISO-8601 UTC timestamp; stamped post-run when the observation completed.
Trait Implementations§
Source§impl Clone for SpecTarget
impl Clone for SpecTarget
Source§fn clone(&self) -> SpecTarget
fn clone(&self) -> SpecTarget
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 SpecTarget
impl Debug for SpecTarget
Source§impl<'de> Deserialize<'de> for SpecTarget
impl<'de> Deserialize<'de> for SpecTarget
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
impl Eq for SpecTarget
Source§impl JsonSchema for SpecTarget
impl JsonSchema for SpecTarget
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 SpecTarget
impl PartialEq for SpecTarget
Source§fn eq(&self, other: &SpecTarget) -> bool
fn eq(&self, other: &SpecTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SpecTarget
impl Serialize for SpecTarget
impl StructuralPartialEq for SpecTarget
Auto Trait Implementations§
impl Freeze for SpecTarget
impl RefUnwindSafe for SpecTarget
impl Send for SpecTarget
impl Sync for SpecTarget
impl Unpin for SpecTarget
impl UnsafeUnpin for SpecTarget
impl UnwindSafe for SpecTarget
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