pub struct DataTransformation(/* private fields */);
Expand description
A DataTransformation
is a chain of TransformationTechnology
s that are used to transform data
Implementations§
Source§impl DataTransformation
impl DataTransformation
Sourcepub fn data_transformation_set(&self) -> Option<DataTransformationSet>
pub fn data_transformation_set(&self) -> Option<DataTransformationSet>
get the DataTransformationSet
that contains this DataTransformation
Sourcepub fn transformation_technologies(
&self,
) -> impl Iterator<Item = TransformationTechnology> + Send + 'static
pub fn transformation_technologies( &self, ) -> impl Iterator<Item = TransformationTechnology> + Send + 'static
Create an iterator over the TransformationTechnologies
in the DataTransformation
§Example
let dts = package.create_data_transformation_set("dts")?;
let config = TransformationTechnologyConfig::Com(ComTransformationTechnologyConfig { isignal_ipdu_length: 8 });
let ttech = dts.create_transformation_technology("ttech1", &config)?;
let dt = dts.create_data_transformation("dt", &[&ttech], true)?;
let mut ttech_iter = dt.transformation_technologies();
assert_eq!(ttech_iter.next(), Some(ttech));
Trait Implementations§
Source§impl Clone for DataTransformation
impl Clone for DataTransformation
Source§fn clone(&self) -> DataTransformation
fn clone(&self) -> DataTransformation
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 DataTransformation
impl Debug for DataTransformation
Source§impl From<DataTransformation> for Element
impl From<DataTransformation> for Element
Source§fn from(val: DataTransformation) -> Self
fn from(val: DataTransformation) -> Self
Converts to this type from the input type.
Source§impl Hash for DataTransformation
impl Hash for DataTransformation
Source§impl PartialEq for DataTransformation
impl PartialEq for DataTransformation
Source§impl TryFrom<Element> for DataTransformation
impl TryFrom<Element> for DataTransformation
impl Eq for DataTransformation
impl StructuralPartialEq for DataTransformation
Auto Trait Implementations§
impl Freeze for DataTransformation
impl !RefUnwindSafe for DataTransformation
impl Send for DataTransformation
impl Sync for DataTransformation
impl Unpin for DataTransformation
impl !UnwindSafe for DataTransformation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.