pub struct GraphResponse {
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 url: String,
pub visibility: Visibility,
}Expand description
Graph plus the absolute URL clients should link to.
JSON schema
{
"description": "`Graph` plus the absolute URL clients should link to.",
"allOf": [
{
"$ref": "#/components/schemas/Graph"
},
{
"type": "object",
"required": [
"url"
],
"properties": {
"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.
repo_id: Uuid§title: Option<String>§toolpath_id: String§updated_at: DateTime<Utc>§url: String§visibility: VisibilityTrait Implementations§
Source§impl Clone for GraphResponse
impl Clone for GraphResponse
Source§fn clone(&self) -> GraphResponse
fn clone(&self) -> GraphResponse
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 GraphResponse
impl Debug for GraphResponse
Source§impl<'de> Deserialize<'de> for GraphResponse
impl<'de> Deserialize<'de> for GraphResponse
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 GraphResponse
impl RefUnwindSafe for GraphResponse
impl Send for GraphResponse
impl Sync for GraphResponse
impl Unpin for GraphResponse
impl UnsafeUnpin for GraphResponse
impl UnwindSafe for GraphResponse
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