pub struct Graph {
pub created_at: DateTime<Utc>,
pub header: Option<Map<String, Value>>,
pub id: Uuid,
pub name: Option<String>,
pub repo_id: Uuid,
pub title: Option<String>,
pub toolpath_id: String,
pub updated_at: DateTime<Utc>,
pub visibility: Visibility,
}Expand description
A computation graph — a named ordered collection of paths within
a repo. Pure storage shape — the columns on graphs. Derived
properties (path count, reconstructed document) live on the response
wrappers that need them (GraphSummary, GraphDocument).
JSON schema
{
"description": "A computation graph — a named ordered collection of paths within\na repo. Pure storage shape — the columns on `graphs`. Derived\nproperties (path count, reconstructed document) live on the response\nwrappers that need them (`GraphSummary`, `GraphDocument`).",
"type": "object",
"required": [
"created_at",
"id",
"repo_id",
"toolpath_id",
"updated_at",
"visibility"
],
"properties": {
"created_at": {
"type": "string",
"format": "date-time"
},
"header": {
"description": "Graph metadata: `{graph: GraphIdentity, meta?: GraphMeta}` —\nthe toolpath `Graph` shape minus its `paths`. Absent when not set.",
"type": [
"object",
"null"
]
},
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"description": "Optional human-readable label for display. Free-form; no URL\nimplications — graphs are addressed by `id` (UUID) at the wire\nboundary. Defaults from the uploader (filename or caller-\nprovided) and can be edited.",
"type": [
"string",
"null"
]
},
"repo_id": {
"type": "string",
"format": "uuid"
},
"title": {
"type": [
"string",
"null"
]
},
"toolpath_id": {
"type": "string"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"visibility": {
"$ref": "#/components/schemas/Visibility"
}
}
}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.
repo_id: Uuid§title: Option<String>§toolpath_id: String§updated_at: DateTime<Utc>§visibility: VisibilityTrait Implementations§
Source§impl<'de> Deserialize<'de> for Graph
impl<'de> Deserialize<'de> for Graph
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 Graph
impl RefUnwindSafe for Graph
impl Send for Graph
impl Sync for Graph
impl Unpin for Graph
impl UnsafeUnpin for Graph
impl UnwindSafe for Graph
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