pub struct BundleContent {
pub id: OpenSymbol,
pub content_digest: String,
pub capabilities: Vec<OpenSymbol>,
}Expand description
Content-addressed application or library admitted to a runtime bundle.
Fields§
§id: OpenSymbol§content_digest: String§capabilities: Vec<OpenSymbol>Capabilities this content is permitted to exercise.
Trait Implementations§
Source§impl Clone for BundleContent
impl Clone for BundleContent
Source§fn clone(&self) -> BundleContent
fn clone(&self) -> BundleContent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BundleContent
impl Debug for BundleContent
Source§impl<'de> Deserialize<'de> for BundleContent
impl<'de> Deserialize<'de> for BundleContent
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BundleContent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BundleContent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BundleContent
Source§impl Ord for BundleContent
impl Ord for BundleContent
Source§fn cmp(&self, other: &BundleContent) -> Ordering
fn cmp(&self, other: &BundleContent) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for BundleContent
impl PartialEq for BundleContent
Source§impl PartialOrd for BundleContent
impl PartialOrd for BundleContent
Source§impl Serialize for BundleContent
impl Serialize for BundleContent
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
impl StructuralPartialEq for BundleContent
Auto Trait Implementations§
impl Forget for BundleContent
impl Freeze for BundleContent
impl Move for BundleContent
impl RefUnwindSafe for BundleContent
impl Send for BundleContentwhere
RawVecInner: Send,
impl Sync for BundleContentwhere
RawVecInner: Sync,
impl Unpin for BundleContent
impl UnsafeUnpin for BundleContentwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<OpenSymbol>: UnsafeUnpin,
impl UnwindSafe for BundleContentwhere
RawVecInner: UnwindSafe,
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§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.