pub struct Operation {
pub characteristics: Vec<Characteristic>,
pub name: String,
pub node_count: Option<i32>,
pub parameters: Vec<Parameter>,
pub sites: Vec<OperationSite>,
}Fields
characteristics: Vec<Characteristic>The list of site-independent characteristics of this operation.
name: StringThe name of the operation.
node_count: Option<i32>The number of nodes that this operation applies to. None if unspecified.
parameters: Vec<Parameter>The list of parameters. Each parameter must be uniquely named. May be empty.
sites: Vec<OperationSite>The list of sites at which this operation can be applied, together with its site-dependent characteristics.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Operation
impl<'de> Deserialize<'de> for Operation
sourcefn 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 Operation
Auto Trait Implementations
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more