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