pub struct TracePathDocumentResponse {
pub created_at: DateTime<Utc>,
pub document: Map<String, Value>,
pub header: Option<Map<String, Value>>,
pub id: Uuid,
pub name: Option<String>,
pub repo_id: Uuid,
pub step_count: i32,
pub title: Option<String>,
pub toolpath_id: String,
pub updated_at: DateTime<Utc>,
pub url: String,
pub visibility: Visibility,
}Expand description
Wraps a TracePath with its step count, reconstructed Graph
document, and the URL. Used by endpoints that promise the full
document (single-path GET, append-steps response).
JSON schema
{
"description": "Wraps a `TracePath` with its step count, reconstructed Graph\ndocument, and the URL. Used by endpoints that promise the full\ndocument (single-path GET, append-steps response).",
"allOf": [
{
"$ref": "#/components/schemas/TracePath"
},
{
"type": "object",
"required": [
"document",
"step_count",
"url"
],
"properties": {
"document": {
"description": "Reconstructed `{ graph, paths: [{path, steps, meta?}] }`.",
"type": "object"
},
"step_count": {
"type": "integer",
"format": "int32"
},
"url": {
"type": "string"
}
}
}
]
}Fields§
§created_at: DateTime<Utc>§document: Map<String, Value>Reconstructed { graph, paths: [{path, steps, meta?}] }.
header: Option<Map<String, Value>>Path metadata: {path: PathIdentity, meta?: PathMeta} — the
toolpath Path shape minus its steps. Absent when not set.
id: Uuid§name: Option<String>Optional human-readable label for display. Free-form; no URL
implications — paths are addressed by id (UUID) at the wire
boundary. Defaults from the uploader (filename or caller-
provided) and can be edited.
repo_id: Uuid§step_count: i32§title: Option<String>§toolpath_id: String§updated_at: DateTime<Utc>§url: String§visibility: VisibilityTrait Implementations§
Source§impl Clone for TracePathDocumentResponse
impl Clone for TracePathDocumentResponse
Source§fn clone(&self) -> TracePathDocumentResponse
fn clone(&self) -> TracePathDocumentResponse
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 TracePathDocumentResponse
impl Debug for TracePathDocumentResponse
Source§impl<'de> Deserialize<'de> for TracePathDocumentResponse
impl<'de> Deserialize<'de> for TracePathDocumentResponse
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 TracePathDocumentResponse
impl RefUnwindSafe for TracePathDocumentResponse
impl Send for TracePathDocumentResponse
impl Sync for TracePathDocumentResponse
impl Unpin for TracePathDocumentResponse
impl UnsafeUnpin for TracePathDocumentResponse
impl UnwindSafe for TracePathDocumentResponse
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