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