Struct transformation_file::state::Transformation
source · pub struct Transformation {
pub said: Option<SelfAddressingIdentifier>,
pub attributes: IndexMap<String, String>,
}
Fields§
§said: Option<SelfAddressingIdentifier>
§attributes: IndexMap<String, String>
Implementations§
Trait Implementations§
source§impl Clone for Transformation
impl Clone for Transformation
source§fn clone(&self) -> Transformation
fn clone(&self) -> Transformation
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 Transformation
impl Debug for Transformation
source§impl Default for Transformation
impl Default for Transformation
source§impl<'de> Deserialize<'de> for Transformation
impl<'de> Deserialize<'de> for Transformation
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 Encode for Transformation
impl Encode for Transformation
fn encode( &self, code: &HashFunctionCode, format: &SerializationFormats, ) -> Result<Vec<u8>, Error>
source§impl SAD for Transformation
impl SAD for Transformation
fn compute_digest( &mut self, code: &HashFunctionCode, format: &SerializationFormats, )
fn derivation_data( &self, code: &HashFunctionCode, serialization_format: &SerializationFormats, ) -> Vec<u8>
Auto Trait Implementations§
impl Freeze for Transformation
impl RefUnwindSafe for Transformation
impl Send for Transformation
impl Sync for Transformation
impl Unpin for Transformation
impl UnwindSafe for Transformation
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)