pub struct OCABundle {
pub said: Option<SelfAddressingIdentifier>,
pub capture_base: CaptureBase,
pub overlays: Vec<Box<dyn Overlay + Send + Sync>>,
}
Fields§
§said: Option<SelfAddressingIdentifier>
§capture_base: CaptureBase
§overlays: Vec<Box<dyn Overlay + Send + Sync>>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OCABundle
impl<'de> Deserialize<'de> for OCABundle
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OCABundle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OCABundle, <__D as Deserializer<'de>>::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: &SelfAddressing, format: &SerializationFormats, ) -> Result<Vec<u8>, Error>
Source§impl SAD for OCABundle
impl SAD for OCABundle
fn compute_digest( &mut self, code: &SelfAddressing, format: &SerializationFormats, )
fn derivation_data( &self, code: &SelfAddressing, serialization_format: &SerializationFormats, ) -> Vec<u8> ⓘ
Source§impl Serialize for OCABundle
impl Serialize for OCABundle
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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