pub struct TransformSpec {
pub transformer: String,
pub instructions: Vec<Value>,
}Expand description
A transformation specification containing a transformer name and instructions.
The transformer field identifies the transformation engine (typically
"pybids-transforms-v1"). The instructions field contains a list of
JSON transformation objects that are applied in order.
Fields§
§transformer: String§instructions: Vec<Value>Trait Implementations§
Source§impl Clone for TransformSpec
impl Clone for TransformSpec
Source§fn clone(&self) -> TransformSpec
fn clone(&self) -> TransformSpec
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 TransformSpec
impl Debug for TransformSpec
Source§impl<'de> Deserialize<'de> for TransformSpec
impl<'de> Deserialize<'de> for TransformSpec
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 TransformSpec
impl RefUnwindSafe for TransformSpec
impl Send for TransformSpec
impl Sync for TransformSpec
impl Unpin for TransformSpec
impl UnsafeUnpin for TransformSpec
impl UnwindSafe for TransformSpec
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