pub struct OperationSite {
pub characteristics: Vec<Characteristic>,
pub node_ids: Vec<i64>,
}Fields§
§characteristics: Vec<Characteristic>The list of site-dependent characteristics of this operation.
node_ids: Vec<i64>The list of architecture node ids for the site. The order of these node ids obey the definition of node symmetry from the enclosing operation.
Implementations§
source§impl OperationSite
impl OperationSite
sourcepub fn new(
characteristics: Vec<Characteristic>,
node_ids: Vec<i64>
) -> OperationSite
pub fn new( characteristics: Vec<Characteristic>, node_ids: Vec<i64> ) -> OperationSite
A site for an operation, with its site-dependent characteristics.
Trait Implementations§
source§impl Clone for OperationSite
impl Clone for OperationSite
source§fn clone(&self) -> OperationSite
fn clone(&self) -> OperationSite
Returns a copy 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 OperationSite
impl Debug for OperationSite
source§impl Default for OperationSite
impl Default for OperationSite
source§fn default() -> OperationSite
fn default() -> OperationSite
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OperationSite
impl<'de> Deserialize<'de> for OperationSite
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
source§impl PartialEq<OperationSite> for OperationSite
impl PartialEq<OperationSite> for OperationSite
source§fn eq(&self, other: &OperationSite) -> bool
fn eq(&self, other: &OperationSite) -> bool
This method tests for
self and other values to be equal, and is used
by ==.