pub struct TracePathSummaryResponse {
pub created_at: DateTime<Utc>,
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 plus the URL. Used by
listing endpoints and any single-row reads that surface the count.
JSON schema
{
"description": "Wraps a `TracePath` with its step count plus the URL. Used by\nlisting endpoints and any single-row reads that surface the count.",
"allOf": [
{
"$ref": "#/components/schemas/TracePath"
},
{
"type": "object",
"required": [
"step_count",
"url"
],
"properties": {
"step_count": {
"description": "Number of steps in this path.",
"type": "integer",
"format": "int32"
},
"url": {
"type": "string"
}
}
}
]
}Fields§
§created_at: DateTime<Utc>§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: i32Number of steps in this path.
title: Option<String>§toolpath_id: String§updated_at: DateTime<Utc>§url: String§visibility: VisibilityTrait Implementations§
Source§impl Clone for TracePathSummaryResponse
impl Clone for TracePathSummaryResponse
Source§fn clone(&self) -> TracePathSummaryResponse
fn clone(&self) -> TracePathSummaryResponse
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 TracePathSummaryResponse
impl Debug for TracePathSummaryResponse
Source§impl<'de> Deserialize<'de> for TracePathSummaryResponse
impl<'de> Deserialize<'de> for TracePathSummaryResponse
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 TracePathSummaryResponse
impl RefUnwindSafe for TracePathSummaryResponse
impl Send for TracePathSummaryResponse
impl Sync for TracePathSummaryResponse
impl Unpin for TracePathSummaryResponse
impl UnsafeUnpin for TracePathSummaryResponse
impl UnwindSafe for TracePathSummaryResponse
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