pub struct UpdateGraphRequest {
pub data: UpdateGraphData,
}
Expand description
Request to update a Graph
Fields§
§data: UpdateGraphData
Implementations§
Source§impl UpdateGraphRequest
Helper methods for updating graphs
impl UpdateGraphRequest
Helper methods for updating graphs
Sourcepub fn with_description(self, description: String) -> Self
pub fn with_description(self, description: String) -> Self
Update description
Sourcepub fn with_graph_type(self, graph_type: String) -> Self
pub fn with_graph_type(self, graph_type: String) -> Self
Update graph type
Sourcepub fn with_visibility(self, visibility: GraphVisibility) -> Self
pub fn with_visibility(self, visibility: GraphVisibility) -> Self
Update visibility
Update tags
Sourcepub fn with_graph_data(self, data: Value) -> Self
pub fn with_graph_data(self, data: Value) -> Self
Update graph data
Trait Implementations§
Source§impl Clone for UpdateGraphRequest
impl Clone for UpdateGraphRequest
Source§fn clone(&self) -> UpdateGraphRequest
fn clone(&self) -> UpdateGraphRequest
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 UpdateGraphRequest
impl Debug for UpdateGraphRequest
Source§impl<'de> Deserialize<'de> for UpdateGraphRequest
impl<'de> Deserialize<'de> for UpdateGraphRequest
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 UpdateGraphRequest
impl RefUnwindSafe for UpdateGraphRequest
impl Send for UpdateGraphRequest
impl Sync for UpdateGraphRequest
impl Unpin for UpdateGraphRequest
impl UnwindSafe for UpdateGraphRequest
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