pub struct Transformation {
pub said: Option<SelfAddressingIdentifier>,
pub source: Option<String>,
pub target: Option<String>,
pub attributes: IndexMap<String, String>,
}
Fields§
§said: Option<SelfAddressingIdentifier>
§source: Option<String>
§target: Option<String>
§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 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 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