pub struct CreateGraphAttributes {
pub name: String,
pub description: Option<String>,
pub graph_type: Option<String>,
pub visibility: Option<String>,
pub tags: Option<Vec<String>>,
pub graph_data: Option<Value>,
}
Expand description
Attributes for creating a Graph
Fields§
§name: String
Graph name (required)
description: Option<String>
Graph description (optional)
graph_type: Option<String>
Graph type (optional)
visibility: Option<String>
Graph visibility (optional)
Tags (optional)
graph_data: Option<Value>
Graph data/content (optional)
Trait Implementations§
Source§impl Clone for CreateGraphAttributes
impl Clone for CreateGraphAttributes
Source§fn clone(&self) -> CreateGraphAttributes
fn clone(&self) -> CreateGraphAttributes
Returns a duplicate of the value. Read more
1.0.0 · 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 CreateGraphAttributes
impl Debug for CreateGraphAttributes
Source§impl<'de> Deserialize<'de> for CreateGraphAttributes
impl<'de> Deserialize<'de> for CreateGraphAttributes
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 CreateGraphAttributes
impl RefUnwindSafe for CreateGraphAttributes
impl Send for CreateGraphAttributes
impl Sync for CreateGraphAttributes
impl Unpin for CreateGraphAttributes
impl UnwindSafe for CreateGraphAttributes
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