pub struct OpenFlow {
pub summary: String,
pub description: Option<String>,
pub value: Box<FlowValue>,
pub schema: Option<Value>,
}Expand description
OpenFlow : Top-level flow definition containing metadata, configuration, and the flow structure
Fields§
§summary: StringShort description of what this flow does
description: Option<String>Detailed documentation for this flow
value: Box<FlowValue>§schema: Option<Value>JSON Schema for flow inputs. Use this to define input parameters, their types, defaults, and validation. For resource inputs, set type to ‘object’ and format to ‘resource-
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OpenFlow
impl<'de> Deserialize<'de> for OpenFlow
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
impl StructuralPartialEq for OpenFlow
Auto Trait Implementations§
impl Freeze for OpenFlow
impl RefUnwindSafe for OpenFlow
impl Send for OpenFlow
impl Sync for OpenFlow
impl Unpin for OpenFlow
impl UnwindSafe for OpenFlow
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