pub struct Bundle {
pub said: Option<SelfAddressingIdentifier>,
pub structural: Option<OCABundle>,
pub transformations: Vec<Transformation>,
}
Fields§
§said: Option<SelfAddressingIdentifier>
§structural: Option<OCABundle>
§transformations: Vec<Transformation>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Bundle
impl<'de> Deserialize<'de> for Bundle
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 Bundle
impl Encode for Bundle
fn encode( &self, code: &HashFunctionCode, format: &SerializationFormats, ) -> Result<Vec<u8>, Error>
Source§impl SAD for Bundle
impl SAD for Bundle
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 Bundle
impl !RefUnwindSafe for Bundle
impl Send for Bundle
impl Sync for Bundle
impl Unpin for Bundle
impl !UnwindSafe for Bundle
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